summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-06-28 15:08:12 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-28 16:52:44 +0200
commit01b72952c38b9193138eabdab6bdab632cd75ebd (patch)
treeb85f75709c576674aeed662686a73b39b55ab614 /tests/auto/qgl
parent73df041f6c7f8c5f8d22fbaacb661d1f5d4cf5d6 (diff)
Remove QPainter::UniteClip
Change-Id: I5413cb5e2cbb53998bb40f27b9bbc16342caafe6 Reviewed-on: http://codereview.qt.nokia.com/837 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'tests/auto/qgl')
-rw-r--r--tests/auto/qgl/tst_qgl.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/auto/qgl/tst_qgl.cpp b/tests/auto/qgl/tst_qgl.cpp
index 9c51e026d2..7d46ada820 100644
--- a/tests/auto/qgl/tst_qgl.cpp
+++ b/tests/auto/qgl/tst_qgl.cpp
@@ -1742,12 +1742,6 @@ public:
painter->fillRect(rect(), Qt::green);
painter->restore();
- painter->save();
- painter->setClipRect(0, 60, 60, 25, Qt::IntersectClip);
- painter->setClipRect(60, 60, 50, 25, Qt::UniteClip);
- painter->fillRect(rect(), Qt::yellow);
- painter->restore();
-
painter->restore();
painter->translate(100, 100);
@@ -1793,17 +1787,6 @@ public:
}
painter->fillRect(rect(), Qt::green);
painter->restore();
-
- painter->save();
- {
- QPainterPath path;
- path.addRect(0, 60, 60, 25);
- path.addRect(10, 10, 10, 10);
- painter->setClipPath(path, Qt::IntersectClip);
- }
- painter->setClipRect(60, 60, 50, 25, Qt::UniteClip);
- painter->fillRect(rect(), Qt::yellow);
- painter->restore();
}
protected: