From 2ead52b1398aef218c18d056c5a4da6b1d686ca5 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Wed, 3 Apr 2019 23:19:13 +0200 Subject: 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 --- core/settings/qPref.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'core/settings/qPref.cpp') 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 #include @@ -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) -- cgit v1.2.3-70-g09d2