mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
2f95141330
Remove cloud_storage_status from qmlprefs.h. usage to qPref:: enum cloud_storage_status is not used from C, but only from C++, and having the same structure defined multiple times is a maintenance challenge. Signed-off-by: Jan Iversen <jani@apache.org>
17 lines
251 B
C++
17 lines
251 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#include "qPref_private.h"
|
|
#include "qPref.h"
|
|
|
|
qPref::qPref(QObject *parent) :
|
|
QObject(parent)
|
|
{
|
|
}
|
|
qPref *qPref::instance()
|
|
{
|
|
static qPref *self = new qPref;
|
|
return self;
|
|
}
|
|
|
|
void qPref::loadSync(bool doSync)
|
|
{
|
|
}
|