Fix transaction filter due to compiler issue with g++ 10
g++ version 10 seems to have a problem with our ancient union and struct
based bitmap handling.
Changing it to be based on QFlags solves the problem.
BUG: 420761
FIXED-IN: 5.0.9
(cherry picked from commit a8386dc173f51fd56c5c9e42fef5fa5f2df477b7)