summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-02-13 00:51:00 +0100
committerAndrea Diamantini <adjam7@gmail.com>2010-02-13 00:51:00 +0100
commit847aa1fea2bb6b700ccce130d2fa07723e1327f2 (patch)
tree20f9648f929212a6e7a7d1736de05ff275ab88df /src
parentFix date (diff)
downloadrekonq-847aa1fea2bb6b700ccce130d2fa07723e1327f2.tar.xz
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... :(
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 2 insertions, 4 deletions
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