Commit 7608604c authored by kh1's avatar kh1
Browse files

Remove superfluous class member.

parent 1a820256
......@@ -296,9 +296,9 @@ bool HelpPlugin::initialize(const QStringList &arguments, QString *error)
Aggregation::Aggregate *agg = new Aggregation::Aggregate;
agg->add(m_centralWidget);
agg->add(new HelpFindSupport(m_centralWidget));
m_mainWidget = new QWidget;
m_splitter->addWidget(m_mainWidget);
QVBoxLayout *mainWidgetLayout = new QVBoxLayout(m_mainWidget);
QWidget *mainWidget = new QWidget;
m_splitter->addWidget(mainWidget);
QVBoxLayout *mainWidgetLayout = new QVBoxLayout(mainWidget);
mainWidgetLayout->setMargin(0);
mainWidgetLayout->setSpacing(0);
mainWidgetLayout->addWidget(createToolBar());
......
......@@ -118,7 +118,6 @@ private:
private:
HelpMode *m_mode;
Core::ICore *m_core;
QWidget *m_mainWidget;
CentralWidget *m_centralWidget;
HelpViewer *m_helpViewerForSideBar;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment