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
38640527
Commit
38640527
authored
May 03, 2022
by
Laurent Montel
😁
Browse files
use auto directly
parent
766a54ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/utils.cpp
View file @
38640527
...
...
@@ -128,7 +128,7 @@ QString Utils::akonadiAgentName(const QString &configPath)
KZip
*
Utils
::
openZip
(
const
QString
&
filename
,
QString
&
errorMsg
)
{
KZip
*
zip
=
new
KZip
(
filename
);
auto
zip
=
new
KZip
(
filename
);
const
bool
result
=
zip
->
open
(
QIODevice
::
ReadOnly
);
if
(
!
result
)
{
errorMsg
=
i18n
(
"Archive cannot be opened in read mode."
);
...
...
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