Commit 43dd3df3 authored by Waqar Ahmed's avatar Waqar Ahmed
Browse files

Remove useless member variable

parent 7a522a67
Pipeline #137182 passed with stage
in 2 minutes and 30 seconds
......@@ -410,12 +410,12 @@ KateUrlBar::KateUrlBar(KateViewSpace *parent)
setFixedHeight(24);
setContentsMargins({});
m_layout = new QHBoxLayout(this);
m_layout->setContentsMargins({});
m_layout->setSpacing(0);
auto *layout = new QHBoxLayout(this);
layout->setContentsMargins({});
layout->setSpacing(0);
m_breadCrumbView = new BreadCrumbView(this);
m_layout->addWidget(m_breadCrumbView);
layout->addWidget(m_breadCrumbView);
auto *vm = parent->viewManger();
connect(vm, &KateViewManager::viewChanged, this, &KateUrlBar::onViewChanged);
......
......@@ -19,7 +19,6 @@ Q_SIGNALS:
private:
void onViewChanged(KTextEditor::View *v);
class QHBoxLayout *m_layout;
class BreadCrumbView *m_breadCrumbView;
};
......
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