Show kdeconnect devices under "Devices"

We probably need a more sophisticated heuristic for identifying devices in the places
panel but given we already did that for Bluetooth should do for the foreseeable future.

REVIEW: 123189
BUG: 337222
This commit is contained in:
Kai Uwe Broulik 2015-03-31 12:30:36 +02:00
parent 4ed0b82b02
commit 029f3e4732

View file

@ -179,7 +179,7 @@ PlacesItem::GroupType PlacesItem::groupType() const
return SearchForType;
}
if (protocol == QLatin1String("bluetooth") || protocol == QLatin1String("obexftp")) {
if (protocol == QLatin1String("bluetooth") || protocol == QLatin1String("obexftp") || protocol == QLatin1String("kdeconnect")) {
return DevicesType;
}