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:
Laszlo Papp 2014-03-14 06:56:59 +00:00 committed by The Qt Project
parent 176342e70a
commit c42ac8173e

View File

@ -207,7 +207,7 @@ QRectF source(0.0, 0.0, 70.0, 40.0);
QPixmap pixmap(":myPixmap.png"); QPixmap pixmap(":myPixmap.png");
QPainter(this); QPainter(this);
painter.drawPixmap(target, image, source); painter.drawPixmap(target, pixmap, source);
//! [16] //! [16]