From 872a75efdfbb237f80ed633ce55515a51f20a5ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thorbj=C3=B8rn=20Lindeijer?= <thorbjorn.lindeijer@nokia.com>
Date: Mon, 12 Apr 2010 15:47:34 +0200
Subject: [PATCH] Fixed inconsistency in settings group used for font settings

Might have been the cause of endless creations of "customized" color
schemes as seen by Roberto.
---
 src/plugins/texteditor/fontsettingspage.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/texteditor/fontsettingspage.cpp b/src/plugins/texteditor/fontsettingspage.cpp
index 63dd9292cc8..b8a7cfd8dcd 100644
--- a/src/plugins/texteditor/fontsettingspage.cpp
+++ b/src/plugins/texteditor/fontsettingspage.cpp
@@ -218,7 +218,7 @@ FontSettingsPagePrivate::FontSettingsPagePrivate(const TextEditor::FormatDescrip
             QString schemeFileName = createColorSchemeFileName(QLatin1String("customized%1.xml"));
             if (!schemeFileName.isEmpty()) {
                 if (m_value.saveColorScheme(schemeFileName) && settings)
-                    m_value.toSettings(m_category, settings);
+                    m_value.toSettings(m_settingsGroup, settings);
             }
         }
     }
-- 
GitLab