forked from qt-creator/qt-creator
CppEditor: Reuse OverviewModel from text editor also in the outline pane
There's no use synchronizing the same model twice.
This commit is contained in:
@@ -1417,6 +1417,11 @@ SemanticInfo CPPEditor::semanticInfo() const
|
||||
return m_lastSemanticInfo;
|
||||
}
|
||||
|
||||
CPlusPlus::OverviewModel *CPPEditor::overviewModel() const
|
||||
{
|
||||
return m_overviewModel;
|
||||
}
|
||||
|
||||
bool CPPEditor::isElectricCharacter(QChar ch) const
|
||||
{
|
||||
if (ch == QLatin1Char('{') ||
|
||||
|
||||
Reference in New Issue
Block a user