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