summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
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);
}