Forgot to mention, m_state is of type enum TableState.
On Tue, Oct 29, 2013 at 2:21 AM, Jiergir Ogoerg <[email protected]> wrote: > Hi, > There's an enum: > > //==> code > enum TableState > { > UnsupportedLocale, > EmptyTable, > UnknownSystemComposeDir, > MissingComposeFile, > NoErrors > }; > //<== code > > and this: > > //==> code > bool cleanState() const { return ((m_state & NoErrors) == NoErrors); } > //<== code > > Shouldn't the latter be ?: > //==> code > bool cleanState() const { return (m_state == NoErrors); } > //<== code > > Found at > > QTSRC/qtbase/src/plugins/platforminputcontexts/compose/generator/qtablegenerator.h > >
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
