Show Syncplay version in mainGUI window title
This commit is contained in:
parent
a58c946c4c
commit
ced9d64f4e
@ -1,6 +1,6 @@
|
|||||||
from PySide import QtGui #@UnresolvedImport
|
from PySide import QtGui #@UnresolvedImport
|
||||||
from PySide.QtCore import Qt, QSettings, QSize, QPoint #@UnresolvedImport
|
from PySide.QtCore import Qt, QSettings, QSize, QPoint #@UnresolvedImport
|
||||||
from syncplay import utils, constants
|
from syncplay import utils, constants, version
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
import re
|
import re
|
||||||
@ -379,7 +379,7 @@ class MainWindow(QtGui.QMainWindow):
|
|||||||
self.resourcespath = utils.findWorkingDir() + "/resources/"
|
self.resourcespath = utils.findWorkingDir() + "/resources/"
|
||||||
else:
|
else:
|
||||||
self.resourcespath = utils.findWorkingDir() + "\\resources\\"
|
self.resourcespath = utils.findWorkingDir() + "\\resources\\"
|
||||||
self.setWindowTitle("Syncplay - Main Window")
|
self.setWindowTitle("Syncplay v" + version)
|
||||||
self.mainLayout = QtGui.QVBoxLayout()
|
self.mainLayout = QtGui.QVBoxLayout()
|
||||||
self.addTopLayout(self)
|
self.addTopLayout(self)
|
||||||
self.addBottomLayout(self)
|
self.addBottomLayout(self)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user