Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KOrganizer
Commits
ba0a276e
Commit
ba0a276e
authored
Mar 19, 2016
by
Laurent Montel
😁
Browse files
Fix show ical2vcal error
parent
9ca07b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
actionmanager.cpp
View file @
ba0a276e
...
...
@@ -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
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment