4 ms·if ((flag & FLAG_VALUE) == TRUE) ... That would still check if flag is 1, right?by geon 14y agoif ((flag & FLAG_VALUE) == TRUE) ... That would still check if flag is 1, right?azth 14y agoThat is correct.mpyne 14y agoIndeed, great catch (this is why I use things like QFlags now, as it has a simple "testFlag" method)