summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2008-12-30 16:52:23 +0100
committerAndrea Diamantini <adjam7@gmail.com>2008-12-30 16:52:23 +0100
commit9cbf281f4df98feec4325dac050cc633e3bbfe2f (patch)
tree0627ff26b4899e5c0757bfea8fbd1248f63ef691 /src/mainwindow.cpp
parentSolved history && bookmarks menu problems.. (diff)
downloadrekonq-9cbf281f4df98feec4325dac050cc633e3bbfe2f.tar.xz
Fixed FindBar crash && refactored to look like kate searchbar
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index d3509e60..7bf44d06 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -67,10 +67,6 @@ MainWindow::MainWindow()
// tell the KXmlGuiWindow that this is indeed the main widget
setCentralWidget(m_tabWidget);
- // Find Bar
- m_findBar = new FindBar(this);
- connect( m_findBar, SIGNAL( searchString(const QString &) ), this, SLOT( slotFind(const QString &) ) );
-
connect(m_tabWidget, SIGNAL( loadPage(const QString &) ), this, SLOT( loadPage(const QString &) ) );
connect(m_tabWidget, SIGNAL( setCurrentTitle(const QString &)), this, SLOT( slotUpdateWindowTitle(const QString &) ) );
connect(m_tabWidget, SIGNAL( showStatusBarMessage(const QString&)), statusBar(), SLOT( showMessage(const QString&) ) );
@@ -112,6 +108,9 @@ MainWindow::MainWindow()
connect(m_searchBar, SIGNAL(search(const KUrl&)), this, SLOT(loadUrl(const KUrl&)));
navigationBar->addWidget(m_searchBar);
+ // Find Bar
+ m_findBar = new FindBar(this);
+ connect( m_findBar, SIGNAL( searchString(const QString &) ), this, SLOT( slotFind(const QString &) ) );
}