diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2010-03-27 22:17:20 +0100 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2010-03-27 22:17:20 +0100 |
commit | 6183e8e1c21807299f04f4e84c43486cf684f140 (patch) | |
tree | 26ecbe5605fdd6a5e1d7a0039c2e49fc4fc53775 /src/history/historypanel.cpp | |
parent | Fix missing strings on the history panel (diff) | |
download | rekonq-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.cpp | 4 |
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); |