┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels/places/placesitem.h
diff options
context:
space:
mode:
authorAlex Fiestas <[email protected]>2012-10-24 01:21:02 +0200
committerAlex Fiestas <[email protected]>2012-10-24 01:22:31 +0200
commit996fe25208f9db430daa7d1800c4476929eef0dd (patch)
tree19580971b8bfe9a0ece21892e61c0c1e801416bf /src/panels/places/placesitem.h
parent04dabe84b22aa9db501c2d88b4e6ffa0749598ce (diff)
Show MTP devices in case support for it is installed
Basically adds a conditional that in case that mtp kioslave is installed devices with MTP are added to the predicated. REVIEW: 106651 (cherry picked from commit a09a23795050be4ad6e2c987614cb28096030cc8)
Diffstat (limited to 'src/panels/places/placesitem.h')
-rw-r--r--src/panels/places/placesitem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/panels/places/placesitem.h b/src/panels/places/placesitem.h
index 5a24a5268..297f12d91 100644
--- a/src/panels/places/placesitem.h
+++ b/src/panels/places/placesitem.h
@@ -28,6 +28,7 @@
#include <Solid/OpticalDisc>
#include <Solid/StorageAccess>
#include <Solid/StorageVolume>
+#include <Solid/PortableMediaPlayer>
class KDirLister;
class PlacesItemSignalHandler;
@@ -115,6 +116,7 @@ private:
QPointer<Solid::StorageAccess> m_access;
QPointer<Solid::StorageVolume> m_volume;
QPointer<Solid::OpticalDisc> m_disc;
+ QPointer<Solid::PortableMediaPlayer> m_mtp;
QPointer<PlacesItemSignalHandler> m_signalHandler;
QPointer<KDirLister> m_trashDirLister;
KBookmark m_bookmark;