Fix warning message to match the function signature
Change-Id: Ie21d63e29351dae9a52998e3d1068500e502ec5a Task-number: QTBUG-46693 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
This commit is contained in:
parent
8ea61d6d2a
commit
661bcb79c8
@ -2075,7 +2075,7 @@ QColor QColor::fromHsl(int h, int s, int l, int a)
|
||||
|| s < 0 || s > 255
|
||||
|| l < 0 || l > 255
|
||||
|| a < 0 || a > 255) {
|
||||
qWarning("QColor::fromHsv: HSV parameters out of range");
|
||||
qWarning("QColor::fromHsl: HSL parameters out of range");
|
||||
return QColor();
|
||||
}
|
||||
|
||||
@ -2107,7 +2107,7 @@ QColor QColor::fromHslF(qreal h, qreal s, qreal l, qreal a)
|
||||
|| (s < qreal(0.0) || s > qreal(1.0))
|
||||
|| (l < qreal(0.0) || l > qreal(1.0))
|
||||
|| (a < qreal(0.0) || a > qreal(1.0))) {
|
||||
qWarning("QColor::fromHsvF: HSV parameters out of range");
|
||||
qWarning("QColor::fromHslF: HSL parameters out of range");
|
||||
return QColor();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user