summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-07-18 19:15:44 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-07-18 19:15:44 +0200
commit737dd6ec3b8daa1517b392dbad1f13b090e5d33b (patch)
tree6005c75d4062e5f5a1de6390eb5eb3aa187f005b /src/mainwindow.cpp
parentSVN_SILENT made messages (.desktop file) (diff)
downloadrekonq-737dd6ec3b8daa1517b392dbad1f13b090e5d33b.tar.xz
- Performance improvements (partial updates of the tree)
- Synchronisation of the folded states between each windows - Code cleanup
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index b27b7c81..0deeb15b 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -161,6 +161,7 @@ MainWindow::MainWindow()
MainWindow::~MainWindow()
{
Application::bookmarkProvider()->removeToolBar(m_bmBar);
+ Application::bookmarkProvider()->removeBookmarkPanel(m_bookmarksPanel);
Application::instance()->removeMainWindow(this);
delete m_view;
@@ -566,6 +567,8 @@ void MainWindow::setupPanels()
addDockWidget(Qt::LeftDockWidgetArea, m_bookmarksPanel);
+ Application::bookmarkProvider()->registerBookmarkPanel(m_bookmarksPanel);
+
// setup bookmarks panel action
a = (KAction *) m_bookmarksPanel->toggleViewAction();
a->setShortcut(KShortcut(Qt::CTRL + Qt::SHIFT + Qt::Key_B));