Eliminate remaining 'zero as null pointer constant' warnings
Confusing, because the warning is given for code which has apparently
nothing to do with pointers, but it is caused by trying to initialise
a QFlags-derived object with 0. Use QFlags() for a null value instead.