Doc: Remove wrong comment in QStyle::pixelMetric() doc

Pick-to: 6.7 6.6 6.5 6.2
Change-Id: Iebb5794a166899c986e1c408a254184b22bc276e
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
bb10
Christian Ehrlicher 2024-01-15 20:20:48 +01:00
parent 2e328ca5a8
commit d0d5794a3d
1 changed files with 1 additions and 2 deletions

View File

@ -1494,8 +1494,7 @@ void QStyle::drawItemPixmap(QPainter *painter, const QRect &rect, int alignment,
Returns the value of the given pixel \a metric.
The specified \a option and \a widget can be used for calculating
the metric. In general, the \a widget argument is not used. The \a
option can be cast to the appropriate type using the
the metric. The \a option can be cast to the appropriate type using the
qstyleoption_cast() function. Note that the \a option may be zero
even for PixelMetrics that can make use of it. See the table below
for the appropriate \a option casts: