Commit 56aac18b authored by Daniel Molkentin's avatar Daniel Molkentin
Browse files

Extend QSettings workaround to Windows.

parent c4d1553d
......@@ -184,11 +184,17 @@ int main(int argc, char **argv)
// Must be done before any QSettings class is created
QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope,
// Work around bug in QSettings which gets triggered on Windows & Mac only
#ifdef Q_OS_MAC
// Work around bug in QSettings
QSettings::setPath(QSettings::IniFormat, QSettings::UserScope,
#ifdef Q_OS_WIN
QSettings::setPath(QSettings::IniFormat, QSettings::UserScope,
// 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