From 4f929e01e0dbdbbc618083e5a10cdfb7edc7d9bc Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 11 Apr 2012 22:22:26 +1000 Subject: Address Qt 5 to-do comment for QColorDialog. - change customColor() to return QColor instead of QRgb. - change setCustomColor() and setStandardColor() to take a QColor instead of QRgb. - add missing standardColor() getter method. Task-number: QTBUG-25087 Change-Id: Ic6adb2031ef47f5e9b15fa3560a5322e6847c0bb Reviewed-by: Lars Knoll --- dist/changes-5.0.0 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 5ffeb1996c..f8a553a0bc 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -255,6 +255,10 @@ information about a particular change. - qMacVersion() has been removed. Use QSysInfo::macVersion() or QSysInfo::MacintoshVersion instead. +- QColorDialog::customColor() now returns a QColor value instead of QRgb. + QColorDialog::setCustomColor() and QColorDialog::setStandardColor() now + take a QColor value for their second parameter instead of QRgb. + **************************************************************************** * General * **************************************************************************** -- cgit v1.2.3