Use TASK_SEARCH instead of TASK_INDEX.

This commit is contained in:
Roberto Raggi
2009-09-07 13:55:18 +02:00
parent 6ea5fdcded
commit 9b501d6369
2 changed files with 2 additions and 1 deletions

View File

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

View File

@@ -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";