QButtonGroup::addButton() automatically assigns a negative id when no id is given. This logic did not work out when a button with a positive id was added beforehand. Add a check to make sure to always return an auto-assigned negative id. Pick-to: 6.7 6.5 Fixes: QTBUG-129398 Change-Id: Ieadfa44c4b145184a5473713591f4c111a5dafa4 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 772d374ce715de9caaae4f026594d49f6da28dec) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| dialogs | ||
| effects | ||
| graphicsview | ||
| itemviews | ||
| kernel | ||
| styles | ||
| util | ||
| widgets | ||
| CMakeLists.txt | ||