mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:13:24 +00:00
core/settings: add missing empty line.
Standard is to have 1 empty line between functions correct missing static in qPrefGeocoding.h Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
1a130ec461
commit
7940e45c4c
12 changed files with 14 additions and 3 deletions
|
@ -5,6 +5,7 @@
|
|||
qPref::qPref(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPref *qPref::instance()
|
||||
{
|
||||
static qPref *self = new qPref;
|
||||
|
|
|
@ -44,6 +44,7 @@ static int st_lastState_default = false;
|
|||
qPrefDisplay::qPrefDisplay(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefDisplay *qPrefDisplay::instance()
|
||||
{
|
||||
static qPrefDisplay *self = new qPrefDisplay;
|
||||
|
|
|
@ -7,6 +7,7 @@ static const QString group = QStringLiteral("DiveComputer");
|
|||
qPrefDiveComputer::qPrefDiveComputer(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefDiveComputer *qPrefDiveComputer::instance()
|
||||
{
|
||||
static qPrefDiveComputer *self = new qPrefDiveComputer;
|
||||
|
|
|
@ -8,6 +8,7 @@ static const QString group = QStringLiteral("Planner");
|
|||
qPrefDivePlanner::qPrefDivePlanner(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefDivePlanner *qPrefDivePlanner::instance()
|
||||
{
|
||||
static qPrefDivePlanner *self = new qPrefDivePlanner;
|
||||
|
|
|
@ -7,6 +7,7 @@ static const QString group = QStringLiteral("WebApps/Facebook");
|
|||
qPrefFacebook::qPrefFacebook(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefFacebook*qPrefFacebook::instance()
|
||||
{
|
||||
static qPrefFacebook *self = new qPrefFacebook;
|
||||
|
|
|
@ -14,6 +14,7 @@ static const bool st_diveshareExport_private_default = false;
|
|||
qPrefGeneral::qPrefGeneral(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefGeneral *qPrefGeneral::instance()
|
||||
{
|
||||
static qPrefGeneral *self = new qPrefGeneral;
|
||||
|
|
|
@ -7,6 +7,7 @@ static const QString group = QStringLiteral("geocoding");
|
|||
qPrefGeocoding::qPrefGeocoding(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefGeocoding *qPrefGeocoding::instance()
|
||||
{
|
||||
static qPrefGeocoding *self = new qPrefGeocoding;
|
||||
|
|
|
@ -17,9 +17,9 @@ public:
|
|||
static qPrefGeocoding *instance();
|
||||
|
||||
// Load/Sync local settings (disk) and struct preference
|
||||
void loadSync(bool doSync);
|
||||
void load() { loadSync(false); }
|
||||
void sync() { loadSync(true); }
|
||||
static void loadSync(bool doSync);
|
||||
static void load() { loadSync(false); }
|
||||
static void sync() { loadSync(true); }
|
||||
|
||||
public:
|
||||
taxonomy_category first_taxonomy_category() { return prefs.geocoding.category[0]; }
|
||||
|
|
|
@ -7,6 +7,7 @@ static const QString group = QStringLiteral("LocationService");
|
|||
qPrefLocationService::qPrefLocationService(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefLocationService *qPrefLocationService::instance()
|
||||
{
|
||||
static qPrefLocationService *self = new qPrefLocationService;
|
||||
|
|
|
@ -7,6 +7,7 @@ static const QString group = QStringLiteral("TecDetails");
|
|||
qPrefPartialPressureGas::qPrefPartialPressureGas(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefPartialPressureGas *qPrefPartialPressureGas::instance()
|
||||
{
|
||||
static qPrefPartialPressureGas *self = new qPrefPartialPressureGas;
|
||||
|
|
|
@ -9,6 +9,7 @@ static const QString group = QStringLiteral("Network");
|
|||
qPrefProxy::qPrefProxy(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefProxy *qPrefProxy::instance()
|
||||
{
|
||||
static qPrefProxy *self = new qPrefProxy;
|
||||
|
|
|
@ -8,6 +8,7 @@ static const QString group = QStringLiteral("Units");
|
|||
qPrefUnits::qPrefUnits(QObject *parent) : QObject(parent)
|
||||
{
|
||||
}
|
||||
|
||||
qPrefUnits *qPrefUnits::instance()
|
||||
{
|
||||
static qPrefUnits *self = new qPrefUnits;
|
||||
|
|
Loading…
Add table
Reference in a new issue