mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
f2c302284b
commit
f251faa501
3 changed files with 1 additions and 34 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue