diff --git a/src/lib/app/profilemanager.cpp b/src/lib/app/profilemanager.cpp index 1c1e3f069..aa083c0f8 100644 --- a/src/lib/app/profilemanager.cpp +++ b/src/lib/app/profilemanager.cpp @@ -403,11 +403,7 @@ void ProfileManager::updateDatabase() }; QHash siteSettings; - /* Copied from mainapplication.cpp */ - Settings::createSettings(DataPaths::currentProfilePath() + QLatin1String("/settings.ini")); - /* End of copied code */ - - Settings settings; + QSettings settings(DataPaths::currentProfilePath() + QLatin1String("/settings.ini"), QSettings::IniFormat); /* HTML5 permissions */ settings.beginGroup(QSL("HTML5Notifications"));