Fix context registration for project tree.

Broke with IContext refactoring.
This commit is contained in:
con
2011-04-26 13:18:56 +02:00
parent b2ef0926e3
commit ddbc717d90

View File

@@ -76,6 +76,7 @@ public:
// setExpandsOnDoubleClick(false); // setExpandsOnDoubleClick(false);
m_context = new Core::IContext(this); m_context = new Core::IContext(this);
m_context->setContext(Core::Context(Constants::C_PROJECT_TREE)); m_context->setContext(Core::Context(Constants::C_PROJECT_TREE));
m_context->setWidget(this);
Core::ICore::instance()->addContextObject(m_context); Core::ICore::instance()->addContextObject(m_context);
} }
~ProjectTreeView() ~ProjectTreeView()