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

Pick-to: 6.6 6.5 6.2
Change-Id: Iebb5794a166899c986e1c408a254184b22bc276e
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
(cherry picked from commit d0d5794a3decca8501d26387bc8281c61f0bd4ba)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Christian Ehrlicher 2024-01-15 20:20:48 +01:00 committed by Qt Cherry-pick Bot
parent 0fa4721dfa
commit 7adfb315e5

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: