Commit d7cb88c0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use auto vs auto * where it's possible

parent b8882014
Pipeline #49699 skipped
......@@ -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()) {
......
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment