diff options
author | con <qtc-committer@nokia.com> | 2010-07-12 12:46:50 +0200 |
---|---|---|
committer | con <qtc-committer@nokia.com> | 2010-07-12 16:17:31 +0200 |
commit | 214e0bf35b4bb7b55ce7691a397df2878c8ec45d (patch) | |
tree | 12f70982d944fb6ac1b5f191628bb1676dc138f0 /src/plugins/cpptools/cppfindreferences.cpp | |
parent | 8c920ee089605f7cd8d5face29d9a2e491f5eaca (diff) | |
download | qt-creator-214e0bf35b4bb7b55ce7691a397df2878c8ec45d.tar.gz |
Add a instance() method to the search result window singleton.
Diffstat (limited to 'src/plugins/cpptools/cppfindreferences.cpp')
-rw-r--r-- | src/plugins/cpptools/cppfindreferences.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index 194b4ed790..d785bf1097 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -148,7 +148,7 @@ public: CppFindReferences::CppFindReferences(CppTools::CppModelManagerInterface *modelManager) : QObject(modelManager), _modelManager(modelManager), - _resultWindow(ExtensionSystem::PluginManager::instance()->getObject<Find::SearchResultWindow>()) + _resultWindow(Find::SearchResultWindow::instance()) { m_watcher.setPendingResultsLimit(1); connect(&m_watcher, SIGNAL(resultsReadyAt(int,int)), this, SLOT(displayResults(int,int))); |