summaryrefslogtreecommitdiff
path: root/src/history
diff options
context:
space:
mode:
Diffstat (limited to 'src/history')
-rw-r--r--src/history/historypanel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history/historypanel.cpp b/src/history/historypanel.cpp
index a45e3508..03f2b880 100644
--- a/src/history/historypanel.cpp
+++ b/src/history/historypanel.cpp
@@ -52,7 +52,8 @@
HistoryPanel::HistoryPanel(const QString &title, QWidget *parent, Qt::WindowFlags flags)
- : QDockWidget(title, parent, flags)
+ : QDockWidget(title, parent, flags),
+ m_treeView(new UrlTreeView(this))
{
setup();
setShown(ReKonfig::showHistoryPanel());
@@ -73,7 +74,6 @@ void HistoryPanel::setup()
QWidget *ui = new QWidget(this);
- m_treeView = new UrlTreeView(this);
m_treeView->setUniformRowHeights(true);
m_treeView->setSelectionBehavior(QAbstractItemView::SelectRows);
m_treeView->setTextElideMode(Qt::ElideMiddle);