Fixes by clang-tidy

This commit is contained in:
magnesj authored and Magne Sjaastad committed 2026-02-24 06:49:16 +01:00
1 parent ecd89bc8ab
commit fade1f61eb
1 file changed
+1 -3
@@ -251,9 +251,7 @@ bool RiaOpenTelemetryManager::isEventAllowed( const std::string& eventName ) con
if ( !allowlist.isEmpty() && !matches( name, allowlist ) ) return false;
const QStringList denylist = prefs->eventDenylist();
if ( !denylist.isEmpty() && matches( name, denylist ) ) return false;
return true;
return !( !denylist.isEmpty() && matches( name, denylist ) );
}
//--------------------------------------------------------------------------------------------------