diff --git a/src/devices/wmdmdevice.cpp b/src/devices/wmdmdevice.cpp index 7f413caf5..2d2b38c0f 100644 --- a/src/devices/wmdmdevice.cpp +++ b/src/devices/wmdmdevice.cpp @@ -186,7 +186,7 @@ void WmdmDevice::FinishCopy(bool success) { } void WmdmDevice::StartDelete() { - StartCopy(); + StartCopy(NULL); } bool WmdmDevice::DeleteFromStorage(const DeleteJob& job) { @@ -237,7 +237,7 @@ bool WmdmDevice::GetSupportedFiletypes(QList* ret, IWMDMDevice* if (device->GetFormatSupport( &formats, &format_count, &mime_types, &mime_count)) { - qWarning() << "Unable to get a list of supported formats for device" << canonical_name; + qWarning() << "Unable to get a list of supported formats for device"; return false; }