forked from qt-creator/qt-creator
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user