Hi,
I have a small patch for SearchMenu.
Currently, the query is not run after setting the core term, but that
would be useful, as I want to have an initial list even without typing
a search query. Does that make sense?
Cheers,
Oszkar
Index: searchmenu.cpp
===================================================================
--- searchmenu.cpp (revision 1132519)
+++ searchmenu.cpp (working copy)
@@ -91,7 +91,7 @@
const QString queryString = m_lineEdit->text();
- if ( !queryString.isEmpty() ) {
+ if (!queryString.isEmpty() || m_coreQueryTerm.isValid()) {
// create the busy action
if ( !m_busyAction ) {
m_busyAction = q->createBusyAction( q );
@@ -203,6 +203,7 @@
void Nepomuk::SearchMenu::setCoreQueryTerm( const Query::Term& term )
{
d->m_coreQueryTerm = term;
+ d->_k_query();
}
#include "searchmenu.moc"
_______________________________________________
Nepomuk mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/nepomuk