forked from qt-creator/qt-creator
Make IOutputPane behaviour more granular
The commit looks big, but it's mostly trivial. Also any build/run related popups are now "flashes" if the current mode has no placeholder. Task-number: QTCREATORBUG-7875 Change-Id: I3af40557f7af01798f905c0d1829423c80058cb6 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
@@ -305,8 +305,8 @@ TaskWindow::TaskWindow(TaskHub *taskhub) : d(new TaskWindowPrivate)
|
||||
this, SLOT(clearTasks(Core::Id)));
|
||||
connect(d->m_taskHub, SIGNAL(categoryVisibilityChanged(Core::Id,bool)),
|
||||
this, SLOT(setCategoryVisibility(Core::Id,bool)));
|
||||
connect(d->m_taskHub, SIGNAL(popupRequested(bool)),
|
||||
this, SLOT(popup(bool)));
|
||||
connect(d->m_taskHub, SIGNAL(popupRequested(int)),
|
||||
this, SLOT(popup(int)));
|
||||
connect(d->m_taskHub, SIGNAL(showTask(uint)),
|
||||
this, SLOT(showTask(uint)));
|
||||
connect(d->m_taskHub, SIGNAL(openTask(uint)),
|
||||
@@ -456,7 +456,7 @@ void TaskWindow::showTask(unsigned int id)
|
||||
QModelIndex sourceIdx = d->m_model->index(sourceRow, 0);
|
||||
QModelIndex filterIdx = d->m_filter->mapFromSource(sourceIdx);
|
||||
d->m_listview->setCurrentIndex(filterIdx);
|
||||
popup(false);
|
||||
popup(Core::IOutputPane::ModeSwitch);
|
||||
}
|
||||
|
||||
void TaskWindow::openTask(unsigned int id)
|
||||
|
||||
Reference in New Issue
Block a user