Fix compile errors (oops)
This commit is contained in:
parent
3fe016c635
commit
49ddef1276
@ -1,11 +1,9 @@
|
|||||||
#include "settings.hpp"
|
#include "settings.hpp"
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QMutex>
|
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
|
||||||
QSettings &settings::settings() {
|
QSettings &settings::settings() {
|
||||||
QMutexLocker l(lock);
|
|
||||||
static QSettings settings(dir().absoluteFilePath("settings.ini"), QSettings::IniFormat);
|
static QSettings settings(dir().absoluteFilePath("settings.ini"), QSettings::IniFormat);
|
||||||
return settings;
|
return settings;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user