]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Fix search in places panel.
authorWeng Xuetian <wengxt@gmail.com>
Thu, 19 Nov 2015 17:35:37 +0000 (09:35 -0800)
committerWeng Xuetian <wengxt@gmail.com>
Thu, 19 Nov 2015 17:40:51 +0000 (09:40 -0800)
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

src/panels/places/placesitemmodel.cpp

index 013b99731e97c75380cc580f192d64f13ac721ae..0d8ac6981def9a3a68d1d7fa6fde98cd885b160b 100644 (file)
@@ -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();