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
Multimedia
Kdenlive
Commits
f049619c
Commit
f049619c
authored
Sep 14, 2020
by
Vincent Pinon
Browse files
Fix OTIO error display
parent
baa3c0de
Pipeline
#34316
failed with stage
in 62 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/utils/otioconvertions.cpp
View file @
f049619c
...
...
@@ -103,8 +103,8 @@ void OtioConvertions::slotExportProject()
convert
.
waitForFinished
();
tmp
.
remove
();
if
(
convert
.
exitStatus
()
!=
QProcess
::
NormalExit
||
convert
.
exitCode
()
!=
0
)
{
KMessageBox
::
error
(
pCore
->
window
(),
i18n
(
"Project conversion failed:
\n
%1"
)
,
QString
(
convert
.
readAllStandardError
()));
KMessageBox
::
error
(
pCore
->
window
(),
i18n
(
"Project conversion failed:
\n
%1"
,
QString
(
convert
.
readAllStandardError
()))
)
;
return
;
}
pCore
->
displayMessage
(
i18n
(
"Project conversion complete"
),
InformationMessage
);
...
...
@@ -136,8 +136,8 @@ void OtioConvertions::slotImportProject()
convert
.
start
(
QStringLiteral
(
"otioconvert"
),
{
"-i"
,
importFile
,
"-o"
,
importedFile
});
convert
.
waitForFinished
();
if
(
convert
.
exitStatus
()
!=
QProcess
::
NormalExit
||
convert
.
exitCode
()
!=
0
||
!
QFile
::
exists
(
importedFile
))
{
KMessageBox
::
error
(
pCore
->
window
(),
i18n
(
"Project conversion failed:
\n
%1"
)
,
QString
(
convert
.
readAllStandardError
()));
KMessageBox
::
error
(
pCore
->
window
(),
i18n
(
"Project conversion failed:
\n
%1"
,
QString
(
convert
.
readAllStandardError
()))
)
;
return
;
}
pCore
->
displayMessage
(
i18n
(
"Project conversion complete"
),
InformationMessage
);
...
...
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