Set the parent object of CppFindReferences.

This commit is contained in:
Roberto Raggi
2009-11-04 14:16:59 +01:00
parent d6c37e1e13
commit a7d0fb8014

View File

@@ -62,7 +62,8 @@ using namespace CppTools::Internal;
using namespace CPlusPlus;
CppFindReferences::CppFindReferences(CppTools::CppModelManagerInterface *modelManager)
: _modelManager(modelManager),
: QObject(modelManager),
_modelManager(modelManager),
_resultWindow(ExtensionSystem::PluginManager::instance()->getObject<Find::SearchResultWindow>())
{
m_watcher.setPendingResultsLimit(1);