Easier way to change the displayed release version
This commit is contained in:
@@ -48,7 +48,7 @@ from utilities import (checksum_ok,
|
|||||||
|
|
||||||
# import default_imgs_rc
|
# import default_imgs_rc
|
||||||
|
|
||||||
|
__VERSION__ = "3.0.1"
|
||||||
qt_creator_file = resource_path("artemis.ui")
|
qt_creator_file = resource_path("artemis.ui")
|
||||||
Ui_MainWindow, _ = uic.loadUiType(qt_creator_file)
|
Ui_MainWindow, _ = uic.loadUiType(qt_creator_file)
|
||||||
|
|
||||||
@@ -60,6 +60,7 @@ class Artemis(QMainWindow, Ui_MainWindow):
|
|||||||
"""Set all connections of the application."""
|
"""Set all connections of the application."""
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.setupUi(self)
|
self.setupUi(self)
|
||||||
|
self.setWindowTitle("ARTΣMIS " + __VERSION__)
|
||||||
self.set_initial_size()
|
self.set_initial_size()
|
||||||
self.closing = False
|
self.closing = False
|
||||||
self.download_window = DownloadWindow()
|
self.download_window = DownloadWindow()
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>ARTΣMIS 3.0</string>
|
<string>ARTΣMIS</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowIcon">
|
<property name="windowIcon">
|
||||||
<iconset resource="default_imgs.qrc">
|
<iconset resource="default_imgs.qrc">
|
||||||
|
|||||||
Reference in New Issue
Block a user