summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppfindreferences.cpp
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2009-11-26 15:51:10 +0100
committercon <qtc-committer@nokia.com>2009-11-27 17:08:21 +0100
commit90c03d320929ef641498157611e3c91db17289e9 (patch)
treee564b71eeaf22e4c57019a2ceaf104768cd7c042 /src/plugins/cpptools/cppfindreferences.cpp
parent4688634f7823831547affa26d9d001d140b7b671 (diff)
downloadqt-creator-90c03d320929ef641498157611e3c91db17289e9.tar.gz
Add functionality to show progress for the application in task bar/dock.
Move the API to the progress manager. Added a first Mac implementation, other platforms are pending.
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r--src/plugins/cpptools/cppfindreferences.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp
index 6d1c527bac..9fdc6f883c 100644
--- a/src/plugins/cpptools/cppfindreferences.cpp
+++ b/src/plugins/cpptools/cppfindreferences.cpp
@@ -233,8 +233,7 @@ void CppFindReferences::findAll_helper(Symbol *symbol)
m_watcher.setFuture(result);
Core::FutureProgress *progress = progressManager->addTask(result, tr("Searching..."),
- CppTools::Constants::TASK_SEARCH,
- Core::ProgressManager::CloseOnSuccess);
+ CppTools::Constants::TASK_SEARCH);
connect(progress, SIGNAL(clicked()), _resultWindow, SLOT(popup()));
}