summaryrefslogtreecommitdiffstats
path: root/opensuse/tdebase/remove-beagle-stuff.diff
diff options
context:
space:
mode:
authorRobert Xu <robxu9@gmail.com>2011-08-24 17:26:04 -0400
committerRobert Xu <robxu9@gmail.com>2011-08-24 17:26:04 -0400
commit93c66bf8bb8ac0124ae1800cbaaeb814742bfac5 (patch)
tree2551422a7981b35684110fae090223b7a1b6d73f /opensuse/tdebase/remove-beagle-stuff.diff
parent425774d7d1d663e08bb06050924f2eeca9147bba (diff)
downloadtde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.tar.gz
tde-packaging-93c66bf8bb8ac0124ae1800cbaaeb814742bfac5.zip
dbus-1-tqt -> libdbus-tqt-1-0 AND tdelibs import (unchanged)
Diffstat (limited to 'opensuse/tdebase/remove-beagle-stuff.diff')
-rw-r--r--opensuse/tdebase/remove-beagle-stuff.diff34
1 files changed, 34 insertions, 0 deletions
diff --git a/opensuse/tdebase/remove-beagle-stuff.diff b/opensuse/tdebase/remove-beagle-stuff.diff
new file mode 100644
index 000000000..94b243d9d
--- /dev/null
+++ b/opensuse/tdebase/remove-beagle-stuff.diff
@@ -0,0 +1,34 @@
+a "make it compile " patch from Stephan Binner
+
+--- kicker/kicker/plugins/beaglesearch.cpp
++++ kicker/kicker/plugins/beaglesearch.cpp
+@@ -291,11 +291,11 @@
+ beagle_query_set_max_hits (beagle_query, max_hits_per_source); // this is per source!
+
+ kdDebug () << "Creating query from \"" << query_str << "\"" << endl;
+- for ( QStringList::Iterator it = sources_menu.begin(); it != sources_menu.end(); ++it )
++ /* for ( QStringList::Iterator it = sources_menu.begin(); it != sources_menu.end(); ++it )
+ beagle_query_add_source (beagle_query, g_strdup ((*it).utf8 ()));
+
+ for ( QStringList::Iterator it = types_menu.begin(); it != types_menu.end(); ++it )
+- beagle_query_add_hit_type (beagle_query, g_strdup ((*it).utf8 ()));
++ beagle_query_add_hit_type (beagle_query, g_strdup ((*it).utf8 ()));*/
+
+ QStringList query_terms;
+ QString start_date, end_date;
+@@ -307,13 +307,13 @@
+ else if (key_value_pair.count () == 2) {
+ QString key = key_value_pair [0].lower ();
+ QString value = key_value_pair [1];
+- if (key == "mime")
++ if /*(key == "mime")
+ beagle_query_add_mime_type (beagle_query, g_strdup (value.utf8 ()));
+ else if (key == "type")
+ beagle_query_add_hit_type (beagle_query, g_strdup (value.utf8 ()));
+ else if (key == "source")
+ beagle_query_add_source (beagle_query, g_strdup (value.utf8 ()));
+- else if (key == "start")
++ else if */ (key == "start")
+ start_date = value;
+ else if (key == "end")
+ end_date = value;