summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-02-08 18:53:48 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-02-08 18:53:48 +0100
commit0ee5dac23e4b687755c18dd68bcc47625bc59532 (patch)
treeef7eca426aaadec9f2c56adc167334b0cbdd7b86 /src/mainwindow.cpp
parentupdated version info (diff)
downloadrekonq-0ee5dac23e4b687755c18dd68bcc47625bc59532.tar.xz
Ready for 0.0.3 release. Last fixes..
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 294bf589..ecd5e452 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -73,8 +73,7 @@ MainWindow::MainWindow()
// updating rekonq configuration
slotUpdateConf();
-// QTimer::singleShot(0, this, SLOT( postLaunch() ) );
-
+
// creating a new tab
m_view->newTab();
@@ -137,6 +136,10 @@ MainWindow::MainWindow()
KToolBar *bmToolbar = toolBar("bookmarksToolBar");
m_bookmarksProvider->provideBmToolbar( bmToolbar );
+ // setting up toolbars to NOT have context menu enabled
+ setContextMenuPolicy( Qt::ActionsContextMenu );
+
+ // search bar
m_searchBar = new SearchBar( this );
connect(m_searchBar, SIGNAL(search(const KUrl&)), this, SLOT(loadUrl(const KUrl&)));
navigationBar->addWidget(m_searchBar);