summaryrefslogtreecommitdiff
path: root/src
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
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')
-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);
}