Commit 1d0cc4bb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Modernize code

parent fc32808a
Pipeline #39507 passed with stage
in 10 minutes and 58 seconds
......@@ -538,7 +538,7 @@ bool KTNEFParser::openFile(const QString &filename) const
d->deleteDevice();
delete d->message_;
d->message_ = new KTNEFMessage();
QFile *file = new QFile(filename);
auto *file = new QFile(filename);
d->device_ = file;
d->deleteDevice_ = true;
if (!file->exists()) {
......
......@@ -54,7 +54,7 @@ void KTNEFPropertySet::addProperty(int key, int type, const QVariant &value,
return;
}
}
KTNEFProperty *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