forked from qt-creator/qt-creator
replace Core::ICore::instance()->pluginManager() by ExtensionSystem::PluginManager::instance()
This commit is contained in:
@@ -49,9 +49,8 @@ using namespace Core::Utils;
|
||||
using namespace Find;
|
||||
using namespace TextEditor;
|
||||
|
||||
BaseFileFind::BaseFileFind(Core::ICore *core, SearchResultWindow *resultWindow)
|
||||
: m_core(core),
|
||||
m_resultWindow(resultWindow),
|
||||
BaseFileFind::BaseFileFind(SearchResultWindow *resultWindow)
|
||||
: m_resultWindow(resultWindow),
|
||||
m_isSearching(false),
|
||||
m_resultLabel(0),
|
||||
m_filterCombo(0),
|
||||
@@ -95,7 +94,8 @@ void BaseFileFind::findAll(const QString &txt, QTextDocument::FindFlags findFlag
|
||||
m_watcher.setFuture(Core::Utils::findInFilesRegExp(txt, files(), findFlags));
|
||||
else
|
||||
m_watcher.setFuture(Core::Utils::findInFiles(txt, files(), findFlags));
|
||||
Core::FutureProgress *progress = m_core->progressManager()->addTask(m_watcher.future(),
|
||||
Core::FutureProgress *progress =
|
||||
Core::ICore::instance()->progressManager()->addTask(m_watcher.future(),
|
||||
"Search",
|
||||
Constants::TASK_SEARCH);
|
||||
progress->setWidget(createProgressWidget());
|
||||
|
||||
Reference in New Issue
Block a user