diff options
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r-- | core/qt-init.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 6e018faec..fbb755c47 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -3,6 +3,7 @@ #include <QLibraryInfo> #include <QTextCodec> #include "helpers.h" +#include "core/subsurface-qt/SettingsObjectWrapper.h" char *settings_suffix = NULL; QTranslator *qtTranslator, *ssrfTranslator; @@ -31,6 +32,8 @@ void init_qt_late() QCoreApplication::setApplicationName("Subsurface"); } // find plugins installed in the application directory (without this SVGs don't work on Windows) + SettingsObjectWrapper::instance()->load(); + QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()); QLocale loc; QString uiLang = uiLanguage(&loc); |