Since we open the search result pane after a search anyway, we can make

the progress indicator CloseOnSuccess.
This commit is contained in:
mae
2009-07-13 18:47:11 +02:00
parent 3f1be148ef
commit 75b95cfc1c

View File

@@ -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()));
}