diff options
author | Roopesh Chander <roop@forwardbias.in> | 2009-10-04 00:28:16 +0530 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com> | 2010-02-08 16:59:10 +0100 |
commit | 6fced0e5b02473d916f053184f1279c12d2034b7 (patch) | |
tree | 8f2ad4376950eb4ea05909ec560cd74951257edd /src/plugins/texteditor | |
parent | ea13309b9a1ecc7499849488eda9da2a7f79812e (diff) | |
download | qt-creator-6fced0e5b02473d916f053184f1279c12d2034b7.tar.gz |
A little code-beautification won't hurt
Merge-request: 1766
Reviewed-by: Thorbjørn Lindeijer <thorbjorn.lindeijer@nokia.com>
Diffstat (limited to 'src/plugins/texteditor')
-rw-r--r-- | src/plugins/texteditor/tabsettings.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/plugins/texteditor/tabsettings.cpp b/src/plugins/texteditor/tabsettings.cpp index 0efee83015..890df01de4 100644 --- a/src/plugins/texteditor/tabsettings.cpp +++ b/src/plugins/texteditor/tabsettings.cpp @@ -85,14 +85,14 @@ void TabSettings::fromSettings(const QString &category, const QSettings *s) *this = TabSettings(); // Assign defaults - m_spacesForTabs = s->value(group + QLatin1String(spacesForTabsKey), m_spacesForTabs).toBool(); + m_spacesForTabs = s->value(group + QLatin1String(spacesForTabsKey), m_spacesForTabs).toBool(); m_autoSpacesForTabs = s->value(group + QLatin1String(autoSpacesForTabsKey), m_autoSpacesForTabs).toBool(); - m_autoIndent = s->value(group + QLatin1String(autoIndentKey), m_autoIndent).toBool(); - m_smartBackspace = s->value(group + QLatin1String(smartBackspaceKey), m_smartBackspace).toBool(); - m_tabSize = s->value(group + QLatin1String(tabSizeKey), m_tabSize).toInt(); - m_indentSize = s->value(group + QLatin1String(indentSizeKey), m_indentSize).toInt(); - m_indentBraces = s->value(group + QLatin1String(indentBracesKey), m_indentBraces).toBool(); - m_tabKeyBehavior = (TabKeyBehavior)s->value(group + QLatin1String(tabKeyBehaviorKey), m_tabKeyBehavior).toInt(); + m_autoIndent = s->value(group + QLatin1String(autoIndentKey), m_autoIndent).toBool(); + m_smartBackspace = s->value(group + QLatin1String(smartBackspaceKey), m_smartBackspace).toBool(); + m_tabSize = s->value(group + QLatin1String(tabSizeKey), m_tabSize).toInt(); + m_indentSize = s->value(group + QLatin1String(indentSizeKey), m_indentSize).toInt(); + m_indentBraces = s->value(group + QLatin1String(indentBracesKey), m_indentBraces).toBool(); + m_tabKeyBehavior = (TabKeyBehavior)s->value(group + QLatin1String(tabKeyBehaviorKey), m_tabKeyBehavior).toInt(); } |