forked from qt-creator/qt-creator
		
	Use more descriptive progress bar titles
Change-Id: I70450a2aa675d69f820de48dd75909f36051efe0 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
		@@ -207,7 +207,7 @@ QFuture<void> BuiltinIndexingSupport::refreshSourceFiles(const QStringList &sour
 | 
			
		||||
    m_synchronizer.addFuture(result);
 | 
			
		||||
 | 
			
		||||
    if (mode == CppModelManagerInterface::ForcedProgressNotification || sourceFiles.count() > 1) {
 | 
			
		||||
        Core::ProgressManager::addTask(result, QCoreApplication::translate("CppTools::Internal::BuiltinIndexingSupport", "Parsing"),
 | 
			
		||||
        Core::ProgressManager::addTask(result, QCoreApplication::translate("CppTools::Internal::BuiltinIndexingSupport", "Parsing C/C++ Files"),
 | 
			
		||||
                                                CppTools::Constants::TASK_INDEX);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -372,7 +372,7 @@ void CppFindReferences::findAll_helper(Core::SearchResult *search, CPlusPlus::Sy
 | 
			
		||||
    result = QtConcurrent::run(&find_helper, workingCopy, context, this, symbol);
 | 
			
		||||
    createWatcher(result, search);
 | 
			
		||||
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(result, tr("Searching"),
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(result, tr("Searching for Usages"),
 | 
			
		||||
                                                              CppTools::Constants::TASK_SEARCH);
 | 
			
		||||
 | 
			
		||||
    connect(progress, SIGNAL(clicked()), search, SLOT(popup()));
 | 
			
		||||
@@ -672,7 +672,7 @@ void CppFindReferences::findMacroUses(const Macro ¯o, const QString &replace
 | 
			
		||||
    result = QtConcurrent::run(&findMacroUses_helper, workingCopy, snapshot, this, macro);
 | 
			
		||||
    createWatcher(result, search);
 | 
			
		||||
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(result, tr("Searching"),
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(result, tr("Searching for Usages"),
 | 
			
		||||
                                                              CppTools::Constants::TASK_SEARCH);
 | 
			
		||||
    connect(progress, SIGNAL(clicked()), search, SLOT(popup()));
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -147,7 +147,7 @@ void SymbolsFindFilter::startSearch(Core::SearchResult *search)
 | 
			
		||||
    connect(watcher, SIGNAL(finished()),
 | 
			
		||||
            symbolSearcher, SLOT(deleteLater()));
 | 
			
		||||
    watcher->setFuture(QtConcurrent::run(&SymbolSearcher::runSearch, symbolSearcher));
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(watcher->future(), tr("Searching"),
 | 
			
		||||
    FutureProgress *progress = ProgressManager::addTask(watcher->future(), tr("Searching for Symbol"),
 | 
			
		||||
                                                        Core::Constants::TASK_SEARCH);
 | 
			
		||||
    connect(progress, SIGNAL(clicked()), search, SLOT(popup()));
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user