forked from qt-creator/qt-creator
mode: make displayname, icon, priority, id, type data members
This commit is contained in:
@@ -579,10 +579,11 @@ void HelpPlugin::createRightPaneContextViewer()
|
||||
agg->add(m_helpViewerForSideBar);
|
||||
agg->add(new HelpViewerFindSupport(m_helpViewerForSideBar));
|
||||
|
||||
Core::IContext *context = new Core::IContext(this);
|
||||
context->setContext(Core::Context(Constants::C_HELP_SIDEBAR));
|
||||
context->setWidget(m_helpViewerForSideBar);
|
||||
m_core->addContextObject(context);
|
||||
Core::Context context(Constants::C_HELP_SIDEBAR);
|
||||
Core::IContext *icontext = new Core::IContext(this);
|
||||
icontext->setContext(context);
|
||||
icontext->setWidget(m_helpViewerForSideBar);
|
||||
m_core->addContextObject(icontext);
|
||||
|
||||
QAction *copy = new QAction(this);
|
||||
Core::Command *cmd = m_core->actionManager()->registerAction(copy,
|
||||
|
||||
Reference in New Issue
Block a user