diff options
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r-- | core/qt-init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 5596b3f95..b2d178e8e 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -5,7 +5,7 @@ #include <QLibraryInfo> #include <QTextCodec> #include "qthelper.h" -#include "core/subsurface-qt/SettingsObjectWrapper.h" +#include "core/settings/qPref.h" char *settings_suffix = NULL; static QTranslator *qtTranslator, *ssrfTranslator; @@ -49,7 +49,7 @@ void init_qt_late() QCoreApplication::setAttribute(Qt::AA_DisableWindowContextHelpButton); #endif // find plugins installed in the application directory (without this SVGs don't work on Windows) - SettingsObjectWrapper::instance()->load(); + qPref::load(); QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); QLocale loc; |