diff options
author | jan Iversen <jani@apache.org> | 2018-08-14 10:07:22 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-08-15 16:11:39 -0700 |
commit | f251faa5011ecd26ab000a94d1dd5545949493e5 (patch) | |
tree | 0bb1cb7f9bf223a4bd35a376414684a32c7a0626 /core/qt-init.cpp | |
parent | f2c302284b92354461a34f11475f69b6272caaa3 (diff) | |
download | subsurface-f251faa5011ecd26ab000a94d1dd5545949493e5.tar.gz |
core: use qPref::load/sync
use qPref instead of SettingsObjectWrapper for load/sync
(seems sync is only used for testing)
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/qt-init.cpp')
-rw-r--r-- | core/qt-init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qt-init.cpp b/core/qt-init.cpp index 5596b3f95..3543fb9bd 100644 --- a/core/qt-init.cpp +++ b/core/qt-init.cpp @@ -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; |