forked from qt-creator/qt-creator
ProjectManager: Use Core::Id for progress types
Change-Id: I72993fda50ad70ad2d7c2f449923ac6e34b9e737 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -181,8 +181,9 @@ void BaseFileFind::runSearch(Find::SearchResult *search)
|
||||
textDocumentFlagsForFindFlags(parameters.flags),
|
||||
ITextEditor::openedTextDocumentContents()));
|
||||
}
|
||||
FutureProgress *progress = ProgressManager::addTask(watcher->future(), tr("Search"),
|
||||
QLatin1String(Constants::TASK_SEARCH)); progress->setWidget(label);
|
||||
FutureProgress *progress =
|
||||
ProgressManager::addTask(watcher->future(), tr("Search"), Constants::TASK_SEARCH);
|
||||
progress->setWidget(label);
|
||||
progress->setStatusBarWidget(statusLabel);
|
||||
connect(progress, SIGNAL(clicked()), search, SLOT(popup()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user