[Interest] Bug in QCodoaWindow?

John Weeks john at wavemetrics.com
Thu Aug 27 23:17:24 CEST 2020


Isn't this a bug?

 bool QCocoaWindow::isTransitioningToFullScreen() const
{
    NSWindow *window = m_view.window;
    return window.styleMask & NSWindowStyleMaskFullScreen && !window.qt_fullScreen;
}

Seems like the bitwise & needs parens.

This is from Qt 5.12.9. Haven't checked Qt 5.15.

-John Weeks
WaveMetrics, Inc.



More information about the Interest mailing list