summaryrefslogtreecommitdiff
path: root/src/findbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/findbar.cpp')
-rw-r--r--src/findbar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/findbar.cpp b/src/findbar.cpp
index e3f4b231..449e24fa 100644
--- a/src/findbar.cpp
+++ b/src/findbar.cpp
@@ -58,8 +58,8 @@ FindBar::FindBar(KXmlGuiWindow *mainwindow)
m_lineEdit = new KLineEdit(this);
setFocusProxy(m_lineEdit);
m_lineEdit->setMaximumWidth( 250 );
- connect( m_lineEdit, SIGNAL( returnPressed() ), mainwindow, SLOT( slotFindNext() ) );
- connect( m_lineEdit, SIGNAL( textEdited(const QString &) ), mainwindow, SLOT( slotFindNext() ) );
+// connect( m_lineEdit, SIGNAL( returnPressed() ), mainwindow, SLOT( slotFind() ) );
+ connect( m_lineEdit, SIGNAL( textChanged(const QString &) ), mainwindow, SLOT( slotFind(const QString &) ) );
layout->addWidget( m_lineEdit );
// buttons