Commit ba31cfa5 authored by con's avatar con
Browse files

Fix the path for global configuration.

parent 6f0adb71
......@@ -182,7 +182,8 @@ int main(int argc, char **argv)
QString locale = QLocale::system().name();
// Must be done before any QSettings class is created
QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope, QLatin1String(SHARE_PATH));
QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope,
// keep this in sync with the MainWindow ctor in coreplugin/mainwindow.cpp
const QSettings settings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String("Nokia"), QLatin1String("QtCreator"));
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment