From 5bb23ade98b672b603e1c3d9ef35f94c36364ef9 Mon Sep 17 00:00:00 2001
From: Robert Loehning <robert.loehning@nokia.com>
Date: Tue, 22 Jun 2010 14:09:07 +0200
Subject: [PATCH] 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 00142e4cf49450723acfdfe4514afb8a3dfb8d0d.
---
 src/app/main.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/app/main.cpp b/src/app/main.cpp
index 14e0c96226f..99714241d0b 100644
--- a/src/app/main.cpp
+++ b/src/app/main.cpp
@@ -187,11 +187,6 @@ int main(int argc, char **argv)
     // Must be done before any QSettings class is created
     QSettings::setPath(QSettings::IniFormat, QSettings::SystemScope,
             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
     const QSettings settings(QSettings::IniFormat, QSettings::UserScope,
                                  QLatin1String("Nokia"), QLatin1String("QtCreator"));
-- 
GitLab