Merge pull request #6 from Xray1870/master
Adding Appname and Version to main qml for easy change version numbers.
This commit is contained in:
commit
02a7a4dde4
2 changed files with 6 additions and 1 deletions
|
@ -10,6 +10,11 @@ ApplicationWindow
|
|||
cover: Qt.resolvedUrl("cover/CoverPage.qml")
|
||||
allowedOrientations: defaultAllowedOrientations
|
||||
|
||||
id: appVersion
|
||||
|
||||
property string appName: "SeaPrint"
|
||||
property string version: "0.3-3"
|
||||
|
||||
Item {
|
||||
id: db
|
||||
property var db_conn
|
||||
|
|
|
@ -54,7 +54,7 @@ Page {
|
|||
AboutLabel {
|
||||
font.pixelSize: Theme.fontSizeLarge
|
||||
color: Theme.highlightColor
|
||||
text: "SeaPrint 0.3-3"
|
||||
text: appVersion.appName + " v" + appVersion.version
|
||||
}
|
||||
AboutLabel {
|
||||
font.pixelSize: Theme.fontSizeSmall
|
||||
|
|
Loading…
Reference in a new issue