diff options
author | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-05-08 20:17:35 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-05-08 20:04:37 +0000 |
commit | ddbe4ec52b747b3504180a15c7e5a2da3a6332c8 (patch) | |
tree | aa8c9aa421856db1fdebd5817f665f892bc37440 /tests/auto/quick/qquickwindow | |
parent | 92da3afdb69c52b955f3828ec10574031f094c7d (diff) |
Fix build with QT_NO_OPENGL after rebase
Change-Id: Ia4243de07ec75030bb98f4f6d95f70d88e29fdba
Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
Diffstat (limited to 'tests/auto/quick/qquickwindow')
-rw-r--r-- | tests/auto/quick/qquickwindow/tst_qquickwindow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp index 9c4043791f..138f2759a4 100644 --- a/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp +++ b/tests/auto/quick/qquickwindow/tst_qquickwindow.cpp @@ -2203,8 +2203,8 @@ void tst_qquickwindow::testRenderJob() QCOMPARE(int(readPixel[2]), 0); QCOMPARE(int(readPixel[3]), 255); } - } #endif + } // Verify that jobs are deleted when window is not rendered at all completedJobs.clear(); @@ -2221,7 +2221,6 @@ void tst_qquickwindow::testRenderJob() class EventCounter : public QQuickRectangle { - Q_OBJECT public: EventCounter(QQuickItem *parent = 0) : QQuickRectangle(parent) |