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>
This commit is contained in:
jan Iversen 2018-08-14 10:07:22 +02:00 committed by Dirk Hohndel
parent f2c302284b
commit f251faa501
3 changed files with 1 additions and 34 deletions

View file

@ -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;