diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-04-03 23:19:13 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-04 09:29:45 -0700 |
commit | 2ead52b1398aef218c18d056c5a4da6b1d686ca5 (patch) | |
tree | d9450a3d8337e229888ace4f92ec922731705ffb /core/settings/qPref.cpp | |
parent | d45f67c84d0eaceb0ac8ebd0e270a6206f75bc29 (diff) | |
download | subsurface-2ead52b1398aef218c18d056c5a4da6b1d686ca5.tar.gz |
Cleanup: remove qPref::canonical_version() and qPref::mobile_version()
These two member functions were never used, but cause frequent
recompilation of the qPref.cpp file. Remove them for now until
their usefulness becomes evident.
These were the only functions tested in test_qPref.qml. Therefore
remove this test-file.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/settings/qPref.cpp')
-rw-r--r-- | core/settings/qPref.cpp | 11 |
1 files changed, 0 insertions, 11 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) |