┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTomaz Canabrava <[email protected]>2018-06-22 15:30:11 +0200
committerTomaz Canabrava <[email protected]>2018-06-22 15:30:11 +0200
commit6b72c67b096f23a40fa9a98617742560002f33c2 (patch)
tree55ca70cf152f325b7b7d1a577637cab210c861d4 /src
parentf5ce8d865b7e9df3f84161734258707679c5b059 (diff)
Use copy ellision
Diffstat (limited to 'src')
-rw-r--r--src/panels/places/placesitemsignalhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/panels/places/placesitemsignalhandler.cpp b/src/panels/places/placesitemsignalhandler.cpp
index b313f838f..1341b7413 100644
--- a/src/panels/places/placesitemsignalhandler.cpp
+++ b/src/panels/places/placesitemsignalhandler.cpp
@@ -45,8 +45,7 @@ void PlacesItemSignalHandler::onTearDownRequested(const QString& udi)
if (m_item) {
Solid::StorageAccess *tmp = m_item->device().as<Solid::StorageAccess>();
if (tmp) {
- QString mountPath = tmp->filePath();
- emit tearDownExternallyRequested(mountPath);
+ emit tearDownExternallyRequested(tmp->filePath());
}
}
}