From: Weng Xuetian Date: Thu, 19 Nov 2015 17:35:37 +0000 (-0800) Subject: Fix search in places panel. X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/ed3bb94ea095e3ba3e3b96584d817899121e1653 Fix search in places panel. addType("File") will create a invalid query for baloo. Currently seems there is no replacement for it, so just remove it. REVIEW: 126109 FIXED-IN: 15.12 BUG: 348902 --- diff --git a/src/panels/places/placesitemmodel.cpp b/src/panels/places/placesitemmodel.cpp index 013b99731..0d8ac6981 100644 --- a/src/panels/places/placesitemmodel.cpp +++ b/src/panels/places/placesitemmodel.cpp @@ -1161,7 +1161,6 @@ QUrl PlacesItemModel::createSearchUrl(const QUrl& url) QUrl PlacesItemModel::searchUrlForType(const QString& type) { Baloo::Query query; - query.addType("File"); query.addType(type); return query.toSearchUrl();