diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/settings/qPref.cpp | 11 | ||||
-rw-r--r-- | core/settings/qPref.h | 6 |
2 files changed, 0 insertions, 17 deletions
diff --git a/core/settings/qPref.cpp b/core/settings/qPref.cpp index aded20e11..04a2615d3 100644 --- a/core/settings/qPref.cpp +++ b/core/settings/qPref.cpp @@ -14,7 +14,6 @@ #include "qPrefTechnicalDetails.h" #include "qPrefUnit.h" #include "qPrefUpdateManager.h" -#include "ssrf-version.h" #include <QtQml> #include <QQmlContext> @@ -29,16 +28,6 @@ qPref *qPref::instance() return self; } -const QString qPref::canonical_version() -{ - return QString(CANONICAL_VERSION_STRING); -} - -const QString qPref::mobile_version() -{ - return QString(MOBILE_VERSION_STRING); -} - void qPref::loadSync(bool doSync) { if (!doSync) diff --git a/core/settings/qPref.h b/core/settings/qPref.h index 2c95a1500..2fee5e29a 100644 --- a/core/settings/qPref.h +++ b/core/settings/qPref.h @@ -8,8 +8,6 @@ class qPref : public QObject { Q_OBJECT - Q_PROPERTY(QString canonical_version READ canonical_version); - Q_PROPERTY(QString mobile_version READ mobile_version); public: qPref(QObject *parent = NULL); @@ -22,10 +20,6 @@ public: // Register QML void registerQML(QQmlEngine *engine); -public: - static const QString canonical_version(); - static const QString mobile_version(); - private: static void loadSync(bool doSync); }; |