Commit 50b813e2 authored by hjk's avatar hjk

CppEditor: Change default sorting of outline combobox

Now "alphabetically" instead of "file order".

Change-Id: I9b534e9171fda59752ae430bede67561f8aa0038
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent f57b4d35
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment