X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/20e11282b5476891afa8d5c9a2656f18027e7df8..c81927651a6f50af860b21d1be5c04bb4295b7cc:/src/panels/places/placesitem.cpp diff --git a/src/panels/places/placesitem.cpp b/src/panels/places/placesitem.cpp index 3d3645ea2..16ee5cff4 100644 --- a/src/panels/places/placesitem.cpp +++ b/src/panels/places/placesitem.cpp @@ -175,8 +175,8 @@ void PlacesItem::onDataValueChanged(const QByteArray& role, const QVariant& current, const QVariant& previous) { - Q_UNUSED(current); - Q_UNUSED(previous); + Q_UNUSED(current) + Q_UNUSED(previous) if (!m_bookmark.isNull()) { updateBookmarkForRole(role); @@ -186,7 +186,7 @@ void PlacesItem::onDataValueChanged(const QByteArray& role, void PlacesItem::onDataChanged(const QHash& current, const QHash& previous) { - Q_UNUSED(previous); + Q_UNUSED(previous) if (!m_bookmark.isNull()) { QHashIterator it(current); @@ -209,7 +209,7 @@ void PlacesItem::initializeDevice(const QString& udi) m_disc = m_device.as(); m_mtp = m_device.as(); - setText(m_device.description()); + setText(m_device.displayName()); setIcon(m_device.icon()); setIconOverlays(m_device.emblems()); setUdi(udi);