]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Add the Baloo::Term to the Baloo:Query in DolphinSearchBox::balooUrlForSearching...
authorEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Mon, 17 Mar 2014 18:49:32 +0000 (19:49 +0100)
committerEmmanuel Pescosta <emmanuelpescosta099@gmail.com>
Mon, 17 Mar 2014 18:49:32 +0000 (19:49 +0100)
src/search/dolphinsearchbox.cpp

index c178c43c7c673971fb40c0b86be6fdde8fe6bd04..c78ab78dc9889074c9bf5c79c32a864cb125830e 100644 (file)
@@ -455,6 +455,8 @@ KUrl DolphinSearchBox::balooUrlForSearching() const
         query.addCustomOption("includeFolder", m_searchPath.toLocalFile());
     }
 
         query.addCustomOption("includeFolder", m_searchPath.toLocalFile());
     }
 
+    query.setTerm(term);
+
     return query.toSearchUrl(i18nc("@title UDS_DISPLAY_NAME for a KIO directory listing. %1 is the query the user entered.",
                                    "Query Results from '%1'", text));
 #else
     return query.toSearchUrl(i18nc("@title UDS_DISPLAY_NAME for a KIO directory listing. %1 is the query the user entered.",
                                    "Query Results from '%1'", text));
 #else