summaryrefslogtreecommitdiff
path: root/src/history/historypanel.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-03-27 22:17:20 +0100
committerYoann Laissus <yoann.laissus@gmail.com>2010-03-27 22:17:20 +0100
commit6183e8e1c21807299f04f4e84c43486cf684f140 (patch)
tree26ecbe5605fdd6a5e1d7a0039c2e49fc4fc53775 /src/history/historypanel.cpp
parentFix missing strings on the history panel (diff)
downloadrekonq-6183e8e1c21807299f04f4e84c43486cf684f140.tar.xz
- Remove the Add Bookmark action from the different context menus
- Add Bookmark Here now add the bookmark on top of the selected item - ctor initialisation for the UrlTreeView of the history panel
Diffstat (limited to 'src/history/historypanel.cpp')
-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);