Fix a probably copy/paste issue from drawImage in the drawPixmap snippet
Change-Id: Ia2b34e3ee6954342501a805f9e047cb90078e9d5 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
This commit is contained in:
parent
176342e70a
commit
c42ac8173e
@ -207,7 +207,7 @@ QRectF source(0.0, 0.0, 70.0, 40.0);
|
||||
QPixmap pixmap(":myPixmap.png");
|
||||
|
||||
QPainter(this);
|
||||
painter.drawPixmap(target, image, source);
|
||||
painter.drawPixmap(target, pixmap, source);
|
||||
//! [16]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user