mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-05 16:19:10 +00:00
Use copy ellision
This commit is contained in:
parent
f5ce8d865b
commit
6b72c67b09
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue