From 401762d05a2cb0942bfb72869ef09a7d9ce016dc Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Sun, 30 Aug 2009 02:53:24 +0200 Subject: rekonq 0.2.53 with bookmarks bar fixed (and ALL the bars, too!!) --- src/main.cpp | 2 +- src/mainwindow.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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); } -- cgit v1.2.1