Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.7.1
-
None
-
All
-
-
8637235e855ef9ad88aa56404a1d16387610e227 (qt/qtbase/5.12)
Description
The line "nextCust = (nextCust+1) % 16;" in the following code snippet uses "16" instead of "QColorDialogStaticData::CustomColorCount" (which is unfortunately not defined in an accessible header file).
void QColorDialogPrivate::_q_addCustom() { QColorDialogOptions::setCustomColor(nextCust, cs->currentColor()); if (custom) custom->update(); nextCust = (nextCust+1) % 16; }
Attachments
For Gerrit Dashboard: QTBUG-58425 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
243313,2 | QColorDialog: use customColorCount() instead hardcoded value | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |