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
KTnef
Commits
d7cb88c0
Commit
d7cb88c0
authored
Feb 04, 2021
by
Laurent Montel
😁
Browse files
Use auto vs auto * where it's possible
parent
b8882014
Pipeline
#49699
skipped
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/ktnefparser.cpp
View file @
d7cb88c0
...
...
@@ -525,7 +525,7 @@ bool KTNEFParser::openFile(const QString &filename) const
d
->
deleteDevice
();
delete
d
->
message_
;
d
->
message_
=
new
KTNEFMessage
();
auto
*
file
=
new
QFile
(
filename
);
auto
file
=
new
QFile
(
filename
);
d
->
device_
=
file
;
d
->
deleteDevice_
=
true
;
if
(
!
file
->
exists
())
{
...
...
src/ktnefpropertyset.cpp
View file @
d7cb88c0
...
...
@@ -53,7 +53,7 @@ void KTNEFPropertySet::addProperty(int key, int type, const QVariant &value, con
return
;
}
}
auto
*
p
=
new
KTNEFProperty
(
key
,
type
,
value
,
name
);
auto
p
=
new
KTNEFProperty
(
key
,
type
,
value
,
name
);
d
->
properties_
[
p
->
key
()]
=
p
;
}
...
...
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