From c5ea7fd39a737ee16e82a6ef49a3149758b96e2b Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 31 Aug 2011 13:24:37 +0200 Subject: Fix autotests to build on Windows. Basically breakage by being included from the OpenGL parts of included from . Change-Id: Id285fb89c64bf77e2408faac5688acd085579351 Reviewed-on: http://codereview.qt.nokia.com/3952 Reviewed-by: Friedemann Kleint --- tests/auto/qregion/tst_qregion.cpp | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'tests/auto/qregion') diff --git a/tests/auto/qregion/tst_qregion.cpp b/tests/auto/qregion/tst_qregion.cpp index bbc09c9b57..58d2034e41 100644 --- a/tests/auto/qregion/tst_qregion.cpp +++ b/tests/auto/qregion/tst_qregion.cpp @@ -94,9 +94,6 @@ private slots: void isEmpty_data(); void isEmpty(); -#ifdef Q_OS_WIN - void handle(); -#endif #if defined(Q_WS_X11) && defined(QT_BUILD_INTERNAL) void clipRectangles(); #endif @@ -865,16 +862,6 @@ void tst_QRegion::isEmpty() QVERIFY(region.rects().isEmpty()); } -#ifdef Q_OS_WIN -void tst_QRegion::handle() -{ - QRegion r; - HRGN hrgn = r.handle(); - QRegion r2(QRect(0,0,10,10)); - hrgn = r2.handle(); -} -#endif - #if defined(Q_WS_X11) && defined(QT_BUILD_INTERNAL) void tst_QRegion::clipRectangles() { -- cgit v1.2.3