diff options
Diffstat (limited to 'core/settings/qPref.cpp')
-rw-r--r-- | core/settings/qPref.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index 791ec44b8..189fad499 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 #include "qPref_private.h" #include "qPref.h" +#include "ssrf-version.h" qPref::qPref(QObject *parent) : QObject(parent) @@ -15,3 +16,13 @@ static qPref *self = new qPref; void qPref::loadSync(bool doSync) { } + +const QString qPref::canonical_version() const +{ + return QString(CANONICAL_VERSION_STRING); +} + +const QString qPref::mobile_version() const +{ + return QString(MOBILE_VERSION_STRING); +} |