From 4dbdbcd0836015eca3373ea191c2d4f97b65ce86 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 4 Jan 2010 18:21:41 +0100 Subject: Letting toolbars being configurable.. --- src/mainwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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); } -- cgit v1.2.1