Skip to content
Snippets Groups Projects
Commit 75b95cfc authored by mae's avatar mae
Browse files

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

the progress indicator CloseOnSuccess.
parent 3f1be148
No related branches found
No related tags found
No related merge requests found
......@@ -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()));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment