summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-30 02:53:24 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-30 02:53:24 +0200
commit401762d05a2cb0942bfb72869ef09a7d9ce016dc (patch)
tree45fd691bee07ab7e8f6999c1e642999d6958e9c5 /src/mainwindow.cpp
parentFixing Bookmarks bar toggle action (diff)
downloadrekonq-401762d05a2cb0942bfb72869ef09a7d9ce016dc.tar.xz
rekonq 0.2.53 with bookmarks bar fixed (and ALL the bars, too!!)
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index c9c915ca..a21657a7 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -163,6 +163,8 @@ void MainWindow::setupToolbar()
{
// ============ Main ToolBar ================================
m_mainBar->setToolButtonStyle(Qt::ToolButtonIconOnly);
+ m_mainBar->setIconDimensions(22);
+ m_mainBar->setContextMenuPolicy(Qt::PreventContextMenu);
m_mainBar->addAction( actionByName("history_back") );
m_mainBar->addAction( actionByName("history_forward") );
m_mainBar->addSeparator();
@@ -181,9 +183,6 @@ void MainWindow::setupToolbar()
m_bmBar->setContextMenuPolicy(Qt::CustomContextMenu);
Application::bookmarkProvider()->setupBookmarkBar(m_bmBar);
-
-// KToolBar::setToolBarsEditable(false);
-// KToolBar::setToolBarsLocked(true);
}