Commit 9b501d63 authored by Roberto Raggi's avatar Roberto Raggi

Use TASK_SEARCH instead of TASK_INDEX.

parent 6ea5fdcd
......@@ -264,7 +264,7 @@ void CppFindReferences::findAll(const QString &fileName, const QString &text)
m_watcher.setFuture(result);
Core::FutureProgress *progress = progressManager->addTask(result, tr("Searching..."),
CppTools::Constants::TASK_INDEX,
CppTools::Constants::TASK_SEARCH,
Core::ProgressManager::CloseOnSuccess);
connect(progress, SIGNAL(clicked()), _resultWindow, SLOT(popup()));
......
......@@ -38,6 +38,7 @@ namespace Constants {
const char * const M_TOOLS_CPP = "CppTools.Tools.Menu";
const char * const SWITCH_HEADER_SOURCE = "CppTools.SwitchHeaderSource";
const char * const TASK_INDEX = "CppTools.Task.Index";
const char * const TASK_SEARCH = "CppTools.Task.Search";
const char * const C_SOURCE_MIMETYPE = "text/x-csrc";
const char * const C_HEADER_MIMETYPE = "text/x-chdr";
const char * const CPP_SOURCE_MIMETYPE = "text/x-c++src";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment