Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
if (solidSerial == rawDeviceSerial) {
kDebug( KIO_MTP ) << "Found device matching the Solid description";
} else {
- LIBMTP_Release_Device( mtpDevice);
+ LIBMTP_Release_Device(mtpDevice);
continue;
}
kDebug(KIO_MTP) << "[SUCCESS] :: Storages";
} else {
warning(i18n("No Storages found. Maybe you need to unlock your device?"));
+ error(ERR_NO_CONTENT, url.path());
+ kDebug(KIO_MTP) << "[ERROR]";
}
// Storage, list files and folders of storage root
} else {