]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Show kdeconnect devices under "Devices"
authorKai Uwe Broulik <kde@privat.broulik.de>
Tue, 31 Mar 2015 10:30:36 +0000 (12:30 +0200)
committerKai Uwe Broulik <kde@privat.broulik.de>
Tue, 31 Mar 2015 10:30:36 +0000 (12:30 +0200)
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

src/panels/places/placesitem.cpp

index 45e0f6ef2f3b7769400306d4690b51b320c97a45..fad8c7fa529308313d4a950f3c34ae4bdf2c692a 100644 (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;
         }