forked from qt-creator/qt-creator
Since we open the search result pane after a search anyway, we can make
the progress indicator CloseOnSuccess.
This commit is contained in:
@@ -95,7 +95,9 @@ void BaseFileFind::findAll(const QString &txt, QTextDocument::FindFlags findFlag
|
||||
Core::FutureProgress *progress =
|
||||
Core::ICore::instance()->progressManager()->addTask(m_watcher.future(),
|
||||
"Search",
|
||||
Constants::TASK_SEARCH);
|
||||
Constants::TASK_SEARCH,
|
||||
Core::ProgressManager::CloseOnSuccess
|
||||
);
|
||||
progress->setWidget(createProgressWidget());
|
||||
connect(progress, SIGNAL(clicked()), m_resultWindow, SLOT(popup()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user