[Development] It could be a little bug
Jiergir Ogoerg
f35f22fan at gmail.com
Tue Oct 29 01:21:08 CET 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131029/fd1b5609/attachment.html>
More information about the Development
mailing list