Details
-
Bug
-
Resolution: Invalid
-
P4: Low
-
None
-
5.11.1
-
None
Description
Hello there. I saw a very strange checked QGroupBox that I couldn't uncheck by mouse. I tried to reproduce the problem and managed to shorten it in the following code snippet.
#include <QApplication> #include <QDebug> #include <QGroupBox> int main(int argc, char *argv[]) { QApplication app(argc, argv); QGroupBox box; box.setCheckable(true); box.setTitle("Title"); int i = 100; bool *a = reinterpret_cast<bool *>(&i); qDebug() << int(*a); box.setChecked(*a); box.show(); return app.exec(); }