Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.7.0, 5.8.0
-
Windows 10 Enterprise LTSB 64 Bits
Description
I found an error in an if conditional, where it did not return the value of sz.
Because of this problem I could never compile qtbase-source.
Error:
@1872,9
#ifndef QT_NO_MENUBAR
case CT_MenuBarItem:
if (!sz.isEmpty()) //This Error
sz += QSize(windowsItemHMargin * 5 + 1, 5);
return sz;
break;
#endif
Solution:
#ifndef QT_NO_MENUBAR
case CT_MenuBarItem:
if (!sz.isEmpty())
break;
#endif