Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.1
-
-
a428c6933 (6.7.2), 5b151ea2d (dev), 3964d03f3 (6.8), e4b877993 (6.7)
Description
Steps to reproduce the issue:
- Build and run the attached example with Qt version 6.7.1
The bug can be seen on this line of code:
QMessageBox::warning(qApp->activeWindow(), "title", "text", "answer 0", "answer 1", "", 1, 1);
The result for "answer 0" is 2, "answer 1" is 3. This bug is not seen on Qt5, Qt 6.6.1, Qt 6.7.0
Attachments
For Gerrit Dashboard: QTBUG-125858 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
566096,6 | Return button index for deprecated QMessageBox APIs | 6.7.2 | qt/qtbase | Status: MERGED | +2 | 0 |
566321,2 | Return button index for deprecated QMessageBox APIs | dev | qt/qtbase | Status: MERGED | +2 | 0 |
566361,2 | Return button index for deprecated QMessageBox APIs | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |
566723,2 | Return button index for deprecated QMessageBox APIs | 6.7 | qt/qtbase | Status: MERGED | +2 | 0 |