summaryrefslogtreecommitdiff
path: root/src/mainview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainview.cpp')
-rw-r--r--src/mainview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp
index a3030748..cb84f56b 100644
--- a/src/mainview.cpp
+++ b/src/mainview.cpp
@@ -48,7 +48,7 @@ MainView::MainView(QWidget *parent)
, m_recentlyClosedTabsAction(0)
, m_recentlyClosedTabsMenu(0)
, m_lineEditCompleter(0)
- , m_lineEdits(0)
+ , m_lineEdits(new QStackedWidget(this))
, m_tabBar(new TabBar(this))
{
setElideMode(Qt::ElideRight);
@@ -72,8 +72,6 @@ MainView::MainView(QWidget *parent)
// --
connect(this, SIGNAL(currentChanged(int)), this, SLOT(currentChanged(int)));
-
- m_lineEdits = new QStackedWidget(this);
}