diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2010-01-04 18:21:41 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2010-01-04 18:21:41 +0100 |
commit | 4dbdbcd0836015eca3373ea191c2d4f97b65ce86 (patch) | |
tree | cbf611f7fc02267c10358aad076693083497c3b2 | |
parent | Merge commit 'refs/merge-requests/82' of git://gitorious.org/rekonq/mainline (diff) | |
download | rekonq-4dbdbcd0836015eca3373ea191c2d4f97b65ce86.tar.xz |
Letting toolbars being configurable..
-rw-r--r-- | src/mainwindow.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a0c25389..68af8add 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -181,9 +181,9 @@ void MainWindow::setupToolbars() { // ============ Main ToolBar ================================ m_mainBar->setToolButtonStyle(Qt::ToolButtonIconOnly); - m_mainBar->setContextMenuPolicy(Qt::PreventContextMenu); - m_mainBar->setFloatable(false); - m_mainBar->setMovable(false); +// m_mainBar->setContextMenuPolicy(Qt::PreventContextMenu); +// m_mainBar->setFloatable(false); +// m_mainBar->setMovable(false); m_mainBar->addAction( actionByName(KStandardAction::name(KStandardAction::Back)) ); m_mainBar->addAction( actionByName(KStandardAction::name(KStandardAction::Forward)) ); @@ -203,8 +203,8 @@ void MainWindow::setupToolbars() m_bmBar->setToolButtonStyle(Qt::ToolButtonTextBesideIcon); m_bmBar->setAcceptDrops(true); m_bmBar->setContextMenuPolicy(Qt::CustomContextMenu); - m_bmBar->setFloatable(false); - m_bmBar->setMovable(false); +// m_bmBar->setFloatable(false); +// m_bmBar->setMovable(false); Application::bookmarkProvider()->setupBookmarkBar(m_bmBar); } |