Commit ba0a276e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix show ical2vcal error

parent 9ca07b78
......@@ -865,7 +865,6 @@ void ActionManager::file_icalimport()
// FIXME: eventually, we will need a dialog box to select import type, etc.
// for now, hard-coded to ical file, $HOME/.calendar.
int retVal = -1;
QString progPath;
QTemporaryFile tmpfn;
tmpfn.open();
......@@ -882,11 +881,6 @@ void ActionManager::file_icalimport()
proc << QStringLiteral("ical2vcal") << tmpfn.fileName();
retVal = proc.execute();
if (retVal < 0) {
qCDebug(KORGANIZER_LOG) << "Error executing ical2vcal.";
return;
}
qCDebug(KORGANIZER_LOG) << "ical2vcal return value:" << retVal;
if (retVal >= 0 && retVal <= 2) {
......
Markdown is supported
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