diff options
| author | Méven Car <[email protected]> | 2020-06-16 19:37:08 +0200 |
|---|---|---|
| committer | Méven Car <[email protected]> | 2020-06-16 19:37:18 +0200 |
| commit | c81927651a6f50af860b21d1be5c04bb4295b7cc (patch) | |
| tree | 12aaa44578e904485f01c80fcd1798fa5a03ae6c | |
| parent | 799c532d239c2c04cb7fe5014aceba449268fd3d (diff) | |
Places: Use Solid::Device::DisplayName for DisplayRole
Summary:
BUG: 415281
FIXED-IN: 20.08
Counter-part of D26113
Test Plan:
Before:
{F8215025}
After:
{F8215027}
Reviewers: ngraham, #dolphin
Reviewed By: ngraham, #dolphin
Subscribers: broulik, kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D26114
| -rw-r--r-- | CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/panels/places/placesitem.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ee0082a87..397f3161d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set (RELEASE_SERVICE_VERSION "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE project(Dolphin VERSION ${RELEASE_SERVICE_VERSION}) set(QT_MIN_VERSION "5.11.0") -set(KF5_MIN_VERSION "5.70.0") +set(KF5_MIN_VERSION "5.71.0") # ECM setup find_package(ECM ${KF5_MIN_VERSION} CONFIG REQUIRED) diff --git a/src/panels/places/placesitem.cpp b/src/panels/places/placesitem.cpp index b06bac9a6..16ee5cff4 100644 --- a/src/panels/places/placesitem.cpp +++ b/src/panels/places/placesitem.cpp @@ -209,7 +209,7 @@ void PlacesItem::initializeDevice(const QString& udi) m_disc = m_device.as<Solid::OpticalDisc>(); m_mtp = m_device.as<Solid::PortableMediaPlayer>(); - setText(m_device.description()); + setText(m_device.displayName()); setIcon(m_device.icon()); setIconOverlays(m_device.emblems()); setUdi(udi); |
