summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
-rw-r--r--src/mainwindow.cpp5
2 files changed, 3 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a6654774..22da8a23 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -37,7 +37,7 @@ static const char description[] =
I18N_NOOP("A lightweight Web Browser for KDE based on Webkit");
-static const char version[] = "0.2.52";
+static const char version[] = "0.2.53";
int main(int argc, char **argv)
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);
}