subsurface/core/settings/qPref.cpp
jan Iversen 2f95141330 core: remove double definition of enum cloud_storage_status
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>
2018-07-04 05:32:30 +08:00

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)
{
}