Skip to content

Commit 0f9ab23

Browse files
author
Jason McDonald
committed
Merge branch '4.5' of [email protected]:qt/qt into 4.5
2 parents 318df8e + ee0690c commit 0f9ab23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/painting/qpainter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5182,7 +5182,7 @@ void QPainter::drawPixmap(const QPointF &p, const QPixmap &pm)
51825182

51835183
Q_D(QPainter);
51845184

5185-
if (!d->engine)
5185+
if (!d->engine || pm.isNull())
51865186
return;
51875187

51885188
#ifndef QT_NO_DEBUG

0 commit comments

Comments
 (0)