┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/panels
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2020-06-16 19:37:08 +0200
committerMéven Car <[email protected]>2020-06-16 19:37:18 +0200
commitc81927651a6f50af860b21d1be5c04bb4295b7cc (patch)
tree12aaa44578e904485f01c80fcd1798fa5a03ae6c /src/panels
parent799c532d239c2c04cb7fe5014aceba449268fd3d (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
Diffstat (limited to 'src/panels')
-rw-r--r--src/panels/places/placesitem.cpp2
1 files changed, 1 insertions, 1 deletions
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);