From 847aa1fea2bb6b700ccce130d2fa07723e1327f2 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sat, 13 Feb 2010 00:51:00 +0100 Subject: Good news, bad news. I reenabled the ability of changing (main) toolbar style, but.. I noticed in other kde apps (eg: kaddressbook) that settings are forgotten also there. Is it a ktoolbar bug? I cannot say for sure. Anyway I reenabled rekonq bits, but it doesn't work... :( --- src/mainwindow.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index b0007ed4..96b4569c 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -103,8 +103,8 @@ MainWindow::MainWindow() , m_bookmarksPanel(0) , m_webInspectorPanel(0) , m_historyBackMenu(0) - , m_mainBar( new KToolBar( QString("MainToolBar"), this, Qt::TopToolBarArea, true, true, false) ) - , m_bmBar( new KToolBar( QString("BookmarkToolBar"), this, Qt::TopToolBarArea, true, false, false) ) + , m_mainBar( new KToolBar( QString("MainToolBar"), this, Qt::TopToolBarArea, true, true, true) ) + , m_bmBar( new KToolBar( QString("BookmarkToolBar"), this, Qt::TopToolBarArea, true, false, true) ) , m_popup( new KPassivePopup(this) ) , m_hidePopup( new QTimer(this) ) , m_ac( new KActionCollection(this) ) @@ -183,8 +183,6 @@ void MainWindow::setupToolbars() m_mainBar->addAction( actionByName("bookmarksActionMenu") ); m_mainBar->addAction( actionByName("rekonq_tools") ); - - m_mainBar->setContextMenuPolicy(Qt::PreventContextMenu); m_mainBar->show(); // this just to fix reopening rekonq after fullscreen close -- cgit v1.2.1