CppEditor: Change default sorting of outline combobox

Now "alphabetically" instead of "file order".

Change-Id: I9b534e9171fda59752ae430bede67561f8aa0038
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-01-03 11:52:00 +01:00
parent f57b4d35a4
commit 50b813e22a

View File

@@ -106,7 +106,7 @@ IEditor *CppEditorFactory::createEditor(QWidget *parent)
CppEditorPlugin *CppEditorPlugin::m_instance = 0;
CppEditorPlugin::CppEditorPlugin() :
m_sortedOutline(false),
m_sortedOutline(true),
m_renameSymbolUnderCursorAction(0),
m_findUsagesAction(0),
m_reparseExternallyChangedFiles(0),
@@ -313,7 +313,7 @@ bool CppEditorPlugin::initialize(const QStringList & /*arguments*/, QString *err
void CppEditorPlugin::readSettings()
{
m_sortedOutline = ICore::settings()->value(QLatin1String("CppTools/SortedMethodOverview"), false).toBool();
m_sortedOutline = ICore::settings()->value(QLatin1String("CppTools/SortedMethodOverview"), true).toBool();
}
void CppEditorPlugin::writeSettings()