Skip to content
Snippets Groups Projects
Commit 5bb23ade authored by Robert Loehning's avatar Robert Loehning
Browse files

Revert "Work around a Mac specific QSettings bug for the moment."

Workaround is no longer needed and causes trouble with cyrillic characters.

This reverts commit 00142e4c.
parent 8ef646be
No related branches found
No related tags found
No related merge requests found
...@@ -187,11 +187,6 @@ int main(int argc, char **argv) ...@@ -187,11 +187,6 @@ int main(int argc, char **argv)
// Must be done before any QSettings class is created // Must be done before any QSettings class is created
QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope, QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope,
QCoreApplication::applicationDirPath()+QLatin1String(SHARE_PATH)); QCoreApplication::applicationDirPath()+QLatin1String(SHARE_PATH));
#ifdef Q_OS_MAC
// Work around bug in QSettings
QSettings::setPath(QSettings::IniFormat, QSettings::UserScope,
QDir::homePath()+"/.config");
#endif
// keep this in sync with the MainWindow ctor in coreplugin/mainwindow.cpp // keep this in sync with the MainWindow ctor in coreplugin/mainwindow.cpp
const QSettings settings(QSettings::IniFormat, QSettings::UserScope, const QSettings settings(QSettings::IniFormat, QSettings::UserScope,
QLatin1String("Nokia"), QLatin1String("QtCreator")); QLatin1String("Nokia"), QLatin1String("QtCreator"));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment