mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 21:43:23 +00:00
69c7ed676a
correct missng qPrefAnimations in global load functions Signed-off-by: Jan Iversen <jani@apache.org>
31 lines
603 B
C++
31 lines
603 B
C++
// SPDX-License-Identifier: GPL-2.0
|
|
#include "qPrefPrivate.h"
|
|
#include "qPref.h"
|
|
#include "ssrf-version.h"
|
|
|
|
qPref::qPref(QObject *parent) :
|
|
QObject(parent)
|
|
{
|
|
}
|
|
qPref *qPref::instance()
|
|
{
|
|
static qPref *self = new qPref;
|
|
return self;
|
|
}
|
|
|
|
void qPref::loadSync(bool doSync)
|
|
{
|
|
qPrefAnimations::instance()->loadSync(doSync);
|
|
qPrefCloudStorage::instance()->loadSync(doSync);
|
|
qPrefDisplay::instance()->loadSync(doSync);
|
|
}
|
|
|
|
const QString qPref::canonical_version() const
|
|
{
|
|
return QString(CANONICAL_VERSION_STRING);
|
|
}
|
|
|
|
const QString qPref::mobile_version() const
|
|
{
|
|
return QString(MOBILE_VERSION_STRING);
|
|
}
|