]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/search/dolphinsearchbox.cpp
add A search options widget, which later on will include Adam Kidder's search prototy...
[dolphin.git] / src / search / dolphinsearchbox.cpp
index d224575eab301c52071f9f485433b065522cc10a..312bfb1cb718f60eacd01efa1647232ee6611f08 100644 (file)
@@ -261,8 +261,8 @@ DolphinSearchBox::DolphinSearchBox(QWidget* parent) :
     m_searchInput->setClickMessage(i18nc("@label:textbox", "Search..."));
     m_searchInput->installEventFilter(this);
     hLayout->addWidget(m_searchInput);
-    connect(m_searchInput, SIGNAL(textEdited(const QString&)),
-            this, SLOT(slotTextEdited(const QString&)));
+    connect(m_searchInput, SIGNAL(textChanged(const QString&)),
+            this, SIGNAL(textChanged(const QString&)));
     connect(m_searchInput, SIGNAL(returnPressed()),
             this, SLOT(emitSearchSignal()));
 
@@ -311,8 +311,4 @@ void DolphinSearchBox::emitSearchSignal()
     emit search(KUrl("nepomuksearch:/" + m_searchInput->text()));
 }
 
-void DolphinSearchBox::slotTextEdited(const QString& text)
-{
-}
-
 #include "dolphinsearchbox.moc"