Changeset View
Changeset View
Standalone View
Standalone View
src/panels/places/placesitemmodel.cpp
Context not available. | |||||
462 | 462 | | |||
---|---|---|---|---|---|
463 | void PlacesItemModel::slotStorageTearDownDone(Solid::ErrorType error, const QVariant& errorData) | 463 | void PlacesItemModel::slotStorageTearDownDone(Solid::ErrorType error, const QVariant& errorData) | ||
464 | { | 464 | { | ||
465 | if (!m_deviceToTearDown) { | ||||
466 | return; | ||||
467 | } | ||||
468 | | ||||
465 | if (error && errorData.isValid()) { | 469 | if (error && errorData.isValid()) { | ||
466 | if (error == Solid::ErrorType::DeviceBusy) { | 470 | if (error == Solid::ErrorType::DeviceBusy) { | ||
467 | KListOpenFilesJob* listOpenFilesJob = new KListOpenFilesJob(m_deviceToTearDown->filePath()); | 471 | KListOpenFilesJob* listOpenFilesJob = new KListOpenFilesJob(m_deviceToTearDown->filePath()); | ||
Context not available. |