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>
This commit is contained in:
Berthold Stoeger 2019-04-03 23:19:13 +02:00 committed by Dirk Hohndel
parent d45f67c84d
commit 2ead52b139
3 changed files with 0 additions and 29 deletions

View file

@ -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)