diff --git a/src/panels/places/placespanel.cpp b/src/panels/places/placespanel.cpp index 38dc4dc3a6..a55df9b45d 100644 --- a/src/panels/places/placespanel.cpp +++ b/src/panels/places/placespanel.cpp @@ -229,7 +229,9 @@ void PlacesPanel::slotTearDownRequestedExternally(const QString &udi) void PlacesPanel::slotTearDownDone(Solid::ErrorType error, const QVariant& errorData) { if (error && errorData.isValid()) { - if (error == Solid::ErrorType::DeviceBusy) { + if (error == Solid::ErrorType::UserCanceled) { + // No need to tell the user what they just did. + } else if (error == Solid::ErrorType::DeviceBusy) { KListOpenFilesJob* listOpenFilesJob = new KListOpenFilesJob(m_deviceToTearDown->filePath()); connect(listOpenFilesJob, &KIO::Job::result, this, [this, listOpenFilesJob](KJob*) { const KProcessList::KProcessInfoList blockingProcesses = listOpenFilesJob->processInfoList();