forked from qt-creator/qt-creator
analyzer: make output pane not pop up automatically in all cases
Change-Id: Ief96ab7093d78915087a273f3eff0b4489c3b370 Reviewed-on: http://codereview.qt.nokia.com/30 Reviewed-by: hjk
This commit is contained in:
@@ -516,6 +516,8 @@ void AnalyzerManager::AnalyzerManagerPrivate::startTool()
|
||||
|
||||
// make sure mode is shown
|
||||
q->showMode();
|
||||
if (q->currentTool()->needsOutputPane())
|
||||
q->popupOutputPane();
|
||||
|
||||
ProjectExplorer::ProjectExplorerPlugin *pe = ProjectExplorer::ProjectExplorerPlugin::instance();
|
||||
|
||||
@@ -896,6 +898,10 @@ void AnalyzerManager::showMode()
|
||||
{
|
||||
if (d->m_mode)
|
||||
ModeManager::instance()->activateMode(d->m_mode->id());
|
||||
}
|
||||
|
||||
void AnalyzerManager::popupOutputPane()
|
||||
{
|
||||
d->m_outputpane->popup();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user