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
This commit is contained in:
Weng Xuetian 2015-11-19 09:35:37 -08:00
parent f3269481ec
commit ed3bb94ea0

View 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();