Fix qdoc warning

QPixmap doesn't have a devicePixelSize() method, but
deviceIndependentSize is a relevant method here.

Change-Id: Ie71e6cc88534792a896ea17ec37b1b9737c2f986
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Nico Vertriest <nico.vertriest@qt.io>
bb10
Volker Hilsheimer 2021-04-12 13:40:36 +02:00
parent 3206840b0e
commit f6651d54df
1 changed files with 1 additions and 1 deletions

View File

@ -633,7 +633,7 @@ qreal QPixmap::devicePixelRatio() const
high-DPI pixmap rather than a large pixmap
(see \l{Drawing High Resolution Versions of Pixmaps and Images}).
\sa devicePixelRatio(), devicePixelSize()
\sa devicePixelRatio(), deviceIndependentSize()
*/
void QPixmap::setDevicePixelRatio(qreal scaleFactor)
{