summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-02-26 18:12:27 +0100
committerAndrea Diamantini <adjam7@gmail.com>2013-02-26 18:12:27 +0100
commit030ecf0e970cd249be8887976b8d692c8f48d014 (patch)
tree0f054ffa3d48b8e44ef6af3ec5ef01e6200a0db9
parentAdd a CTRL + SHIFT + N default shortcut for private browsing (diff)
downloadrekonq-030ecf0e970cd249be8887976b8d692c8f48d014.tar.xz
Fix CTRL+F part shortcut
-rw-r--r--src/webwindow/findbar.cpp4
-rw-r--r--src/webwindow/findbar.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/src/webwindow/findbar.cpp b/src/webwindow/findbar.cpp
index 5b18b052..b44f6d4a 100644
--- a/src/webwindow/findbar.cpp
+++ b/src/webwindow/findbar.cpp
@@ -233,8 +233,8 @@ void FindBar::findNext()
KParts::ReadOnlyPart *p = w->tabView()->part();
if (p)
{
-// connect(this, SIGNAL(triggerPartFind()), p, SLOT(slotFind()));
-// emit triggerPartFind();
+ connect(this, SIGNAL(triggerPartFind()), p, SLOT(slotFind()));
+ emit triggerPartFind();
return;
}
}
diff --git a/src/webwindow/findbar.h b/src/webwindow/findbar.h
index 80b7b955..57d253a1 100644
--- a/src/webwindow/findbar.h
+++ b/src/webwindow/findbar.h
@@ -67,6 +67,7 @@ private Q_SLOTS:
Q_SIGNALS:
void searchString(const QString &);
+ void triggerPartFind();
private:
KLineEdit *m_lineEdit;