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
PIM Data Exporter
Commits
79210e82
Commit
79210e82
authored
Apr 05, 2021
by
Laurent Montel
Browse files
Return zip error
parent
eee74478
Pipeline
#57358
skipped
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
core/utils.cpp
View file @
79210e82
...
...
@@ -132,7 +132,7 @@ KZip *Utils::openZip(const QString &filename, QString &errorMsg)
const
bool
result
=
zip
->
open
(
QIODevice
::
ReadOnly
);
if
(
!
result
)
{
errorMsg
=
i18n
(
"Archive cannot be opened in read mode."
);
qCWarning
(
PIMDATAEXPORTERCORE_LOG
)
<<
"Impossible to open archive: "
<<
filename
;
qCWarning
(
PIMDATAEXPORTERCORE_LOG
)
<<
"Impossible to open archive: "
<<
filename
<<
"zip error : "
<<
zip
->
errorString
()
;
delete
zip
;
return
nullptr
;
}
...
...
Write
Preview
Markdown
is supported
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