diff options
Diffstat (limited to 'src/plugins/beautifier')
-rw-r--r-- | src/plugins/beautifier/abstractsettings.cpp | 4 | ||||
-rw-r--r-- | src/plugins/beautifier/configurationeditor.cpp | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/plugins/beautifier/abstractsettings.cpp b/src/plugins/beautifier/abstractsettings.cpp index bf164cef28..ffcc32f865 100644 --- a/src/plugins/beautifier/abstractsettings.cpp +++ b/src/plugins/beautifier/abstractsettings.cpp @@ -65,11 +65,7 @@ QStringList AbstractSettings::completerWords() QStringList AbstractSettings::styles() const { QStringList list = m_styles.keys(); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) list.sort(Qt::CaseInsensitive); -#else //QT_VERSION_CHECK(5, 0, 0) - list.sort(); -#endif // QT_VERSION_CHECK(5, 0, 0) return list; } diff --git a/src/plugins/beautifier/configurationeditor.cpp b/src/plugins/beautifier/configurationeditor.cpp index 898de0a122..b79ff9cbf2 100644 --- a/src/plugins/beautifier/configurationeditor.cpp +++ b/src/plugins/beautifier/configurationeditor.cpp @@ -123,11 +123,7 @@ void ConfigurationEditor::setSettings(AbstractSettings *settings) QStringList keywords = m_settings->options(); m_highlighter->setKeywords(keywords); keywords << m_settings->completerWords(); -#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) keywords.sort(Qt::CaseInsensitive); -#else //QT_VERSION_CHECK(5, 0, 0) - keywords.sort(); -#endif //QT_VERSION_CHECK(5, 0, 0) m_model->setStringList(keywords); } |