Commit 1a48bcfd authored by Laurent Montel's avatar Laurent Montel
Browse files

Add warning when we can store data

parent 34412667
Pipeline #224451 passed with stage
in 4 minutes and 4 seconds
......@@ -88,7 +88,10 @@ void KMailPlugin::processDropEvent(QDropEvent *de)
tmp.setAutoRemove(false);
tmp.open();
FileStorage storage(cal, tmp.fileName());
storage.save();
if (!storage.save()) {
qCWarning(KMAILPLUGIN_LOG) << " Impossible to save data in filestorage";
return;
}
openComposer(QUrl::fromLocalFile(tmp.fileName()));
} else if (KContacts::VCardDrag::fromMimeData(md, list)) {
QStringList to;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment