summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/painting/qregion
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/gui/painting/qregion')
-rw-r--r--tests/auto/gui/painting/qregion/tst_qregion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/painting/qregion/tst_qregion.cpp b/tests/auto/gui/painting/qregion/tst_qregion.cpp
index dc694e1107..27327d8d1a 100644
--- a/tests/auto/gui/painting/qregion/tst_qregion.cpp
+++ b/tests/auto/gui/painting/qregion/tst_qregion.cpp
@@ -382,7 +382,7 @@ void tst_QRegion::bitmapRegion()
QVERIFY(region.isEmpty());
}
{
- circle = QPixmap(circle_xpm);
+ circle = QBitmap::fromPixmap(QPixmap(circle_xpm));
QRegion region(circle);
//// These should not be inside the circe