Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
5.9.2
-
None
-
Windows 10 Pro x64, 1703, Creators Update
Qt 5.9.2 MSVC 2017 x64
AsRock Z77 Extreme4
Intel Core i5-3570
16 GB DDR3
Description
The constructor keeps putting an "Ok" button even if the NoButton flag is specified.
QMessageBox(QMessageBox::Warning, "Bug", "This is a bug!", QMessageBox::NoButton).exec();
The above code produces a message box with an "Ok" button.
As per documentation, it should have no buttons at all.