diff options
Diffstat (limited to 'core/settings/qPrefLocationService.cpp')
-rw-r--r-- | core/settings/qPrefLocationService.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/core/settings/qPrefLocationService.cpp b/core/settings/qPrefLocationService.cpp deleted file mode 100644 index 786cf58eb..000000000 --- a/core/settings/qPrefLocationService.cpp +++ /dev/null @@ -1,21 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#include "qPrefLocationService.h" -#include "qPrefPrivate.h" - -static const QString group = QStringLiteral("LocationService"); - -qPrefLocationService *qPrefLocationService::instance() -{ - static qPrefLocationService *self = new qPrefLocationService; - return self; -} - -void qPrefLocationService::loadSync(bool doSync) -{ - disk_distance_threshold(doSync); - disk_time_threshold(doSync); -} - -HANDLE_PREFERENCE_INT(LocationService, "distance_threshold", distance_threshold); - -HANDLE_PREFERENCE_INT(LocationService, "time_threshold", time_threshold); |