Commit 5c515bae authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Make it compiles against qt5.15 (endl other other use Qt:: namespace now)

parent 5a81a5fb
......@@ -568,7 +568,12 @@ Identity &IdentityManager::modifyIdentityForName(const QString &name)
qCWarning(KIDENTITYMANAGEMENT_LOG) << "IdentityManager::modifyIdentityForName() used as"
<< "newFromScratch() replacement!"
<< endl << " name == \"" << name << "\"";
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
<< " name == \"" << name << "\"";
return newFromScratch(name);
}
......@@ -582,7 +587,12 @@ Identity &IdentityManager::modifyIdentityForUoid(uint uoid)
qCWarning(KIDENTITYMANAGEMENT_LOG) << "IdentityManager::identityForUoid() used as"
<< "newFromScratch() replacement!"
<< endl << " uoid == \"" << uoid << "\"";
#if (QT_VERSION < QT_VERSION_CHECK(5, 15, 0))
<< endl
#else
<< Qt::endl
#endif
<< " uoid == \"" << uoid << "\"";
return newFromScratch(i18n("Unnamed"));
}
......
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