┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Fiestas <[email protected]>2012-11-01 00:25:36 +0100
committerAlex Fiestas <[email protected]>2012-11-01 00:28:18 +0100
commit951dbd6d67d885d9583e8ce45635a4ae086445fb (patch)
tree2d1b5e5e21b95f0b6779552dce601625d9246e07 /src
parent9d6feb556dbdca54ad9c0a5edc32f53840a88a0f (diff)
Removed customm setText for mtp devices and check for kio_mtp
We are already checking if kio_mtp is installed when we build the predicate so we don't need to check if it is installed again. Also, the fix for "Showing the product as a name for some kind of massive storage" will have to be delayed to 4.9.4, so removing this.
Diffstat (limited to 'src')
-rw-r--r--src/panels/places/placesitem.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panels/places/placesitem.cpp b/src/panels/places/placesitem.cpp
index f78c98b76..75e14d0fb 100644
--- a/src/panels/places/placesitem.cpp
+++ b/src/panels/places/placesitem.cpp
@@ -268,8 +268,7 @@ void PlacesItem::initializeDevice(const QString& udi)
} else if (m_disc && (m_disc->availableContent() & Solid::OpticalDisc::Audio) != 0) {
const QString device = m_device.as<Solid::Block>()->device();
setUrl(QString("audiocd:/?device=%1").arg(device));
- } else if (m_mtp && m_mtp->supportedProtocols().contains("mtp")) {
- setText(m_device.product());
+ } else if (m_mtp) {
setUrl(QString("mtp:udi=%1").arg(m_device.udi()));
}
}