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:
@@ -148,7 +148,7 @@ void BaseFileFind::runSearch(Find::SearchResult *search)
|
||||
FileFindParameters parameters = search->userData().value<FileFindParameters>();
|
||||
CountingLabel *label = new CountingLabel;
|
||||
connect(search, SIGNAL(countChanged(int)), label, SLOT(updateCount(int)));
|
||||
Find::SearchResultWindow::instance()->popup(true);
|
||||
Find::SearchResultWindow::instance()->popup(Core::IOutputPane::Flags(Core::IOutputPane::ModeSwitch | Core::IOutputPane::WithFocus));
|
||||
QFutureWatcher<FileSearchResultList> *watcher = new QFutureWatcher<FileSearchResultList>();
|
||||
m_watchers.insert(watcher, search);
|
||||
watcher->setPendingResultsLimit(1);
|
||||
|
||||
Reference in New Issue
Block a user