Revert "Try Clazy fix-its"

Segfault on old Qt versions!
This reverts commit dba7caed30.
This commit is contained in:
Laurent Trinques
2025-02-14 16:17:58 +01:00
parent dba7caed30
commit 43f0107eb1
88 changed files with 409 additions and 512 deletions

View File

@@ -31,7 +31,9 @@
*/
void DiagramContext::add(DiagramContext other)
{
for (const QString& key : other.keys()) { addValue(key, other.value(key)); }
for (QString key : other.keys()) {
addValue(key, other.value(key));
}
}
/**
@@ -256,8 +258,7 @@ bool DiagramContext::isKeyAcceptable(const QString &key)
QDebug operator <<(QDebug debug, const DiagramContext &context)
{
debug << "DiagramContext";
for (const auto& key : context.keys())
{
for (auto key : context.keys()) {
debug.nospace() << key << " : " << context.value(key) << "\n";
}
debug << " end DiagramContext";