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