summaryrefslogtreecommitdiffstats
path: root/tests/auto/qglthreads
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-01-28 13:12:47 +0200
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-01-28 13:14:27 +0200
commit97503dfd7fad9c8023b2f9632e6ef865ccd0cad8 (patch)
tree9ddb3dc4aeb3bcc35c3b213b2351a63040d7f72c /tests/auto/qglthreads
parente0489b905d6a31c7a904ca2b62a1e60cd12dba4f (diff)
Fix typo in qglthreads auto test.
Reviewed-by: TRUSTME
Diffstat (limited to 'tests/auto/qglthreads')
-rw-r--r--tests/auto/qglthreads/tst_qglthreads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qglthreads/tst_qglthreads.cpp b/tests/auto/qglthreads/tst_qglthreads.cpp
index 0bcc4f6e97..65bebb0f40 100644
--- a/tests/auto/qglthreads/tst_qglthreads.cpp
+++ b/tests/auto/qglthreads/tst_qglthreads.cpp
@@ -216,7 +216,7 @@ public:
// That's why we create only small textures.
width = 50;
height = 20;
-#else
+#endif
QImage image(width, height, QImage::Format_RGB32);
QPainter p(&image);
p.fillRect(image.rect(), QColor(rand() % 256, rand() % 256, rand() % 256));