diff --git a/qml/harbour-seaprint.qml b/qml/harbour-seaprint.qml index 7cdb91a..f005601 100644 --- a/qml/harbour-seaprint.qml +++ b/qml/harbour-seaprint.qml @@ -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 diff --git a/qml/pages/AboutPage.qml b/qml/pages/AboutPage.qml index 66c586a..62cae00 100644 --- a/qml/pages/AboutPage.qml +++ b/qml/pages/AboutPage.qml @@ -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