mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d45f67c84d
commit
2ead52b139
3 changed files with 0 additions and 29 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue