Commit 526bb9d7 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 9910dccb
......@@ -52,7 +52,7 @@ private Q_SLOTS:
QVERIFY(col.isValid());
auto attr = col.attribute<EntityDisplayAttribute>(Collection::AddIfMissing);
attr->setDisplayName(QLatin1String("Test Collection"));
attr->setDisplayName(QStringLiteral("Test Collection"));
col.setContentMimeTypes({ Collection::mimeType(), QLatin1String("application/octet-stream") });
CollectionModifyJob *mj = new CollectionModifyJob(col, this);
......
......@@ -136,7 +136,7 @@ private:
baseCols << col;
}
}
for (const Collection &col : baseCols) {
for (const Collection &col : qAsConst(baseCols)) {
CollectionDeleteJob *del = new CollectionDeleteJob(col);
AKVERIFYEXEC(del);
}
......
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