Merge pull request #6 from Xray1870/master

Adding Appname and Version to main qml for easy change version numbers.
This commit is contained in:
attah 2019-12-17 21:55:33 +01:00 committed by GitHub
commit 02a7a4dde4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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