forked from qt-creator/qt-creator
Add find support to the help side panel.
Task: 248199
This commit is contained in:
@@ -373,6 +373,9 @@ void HelpPlugin::createRightPaneSideBar()
|
||||
rightPaneLayout->addWidget(rightPaneToolBar);
|
||||
|
||||
m_helpViewerForSideBar = new HelpViewer(m_helpEngine, 0);
|
||||
Aggregation::Aggregate *agg = new Aggregation::Aggregate();
|
||||
agg->add(m_helpViewerForSideBar);
|
||||
agg->add(new HelpViewerFindSupport(m_helpViewerForSideBar));
|
||||
rightPaneLayout->addWidget(m_helpViewerForSideBar);
|
||||
m_core->addContextObject(new Core::BaseContext(m_helpViewerForSideBar, QList<int>()
|
||||
<< m_core->uniqueIDManager()->uniqueIdentifier(Constants::C_HELP_SIDEBAR),
|
||||
|
||||
Reference in New Issue
Block a user