Fixes by clang-tidy

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