[Development] It could be a little bug
Jiergir Ogoerg
f35f22fan at gmail.com
Tue Oct 29 01:24:41 CET 2013
Forgot to mention, m_state is of type enum TableState.
On Tue, Oct 29, 2013 at 2:21 AM, Jiergir Ogoerg <f35f22fan at gmail.com> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131029/bba694b9/attachment.html>
More information about the Development
mailing list