summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-01-28 11:12:47 (GMT)
committerJani Hautakangas <jani.hautakangas@nokia.com>2011-01-28 11:14:27 (GMT)
commit97503dfd7fad9c8023b2f9632e6ef865ccd0cad8 (patch)
tree9ddb3dc4aeb3bcc35c3b213b2351a63040d7f72c
parente0489b905d6a31c7a904ca2b62a1e60cd12dba4f (diff)
downloadQt-97503dfd7fad9c8023b2f9632e6ef865ccd0cad8.zip
Qt-97503dfd7fad9c8023b2f9632e6ef865ccd0cad8.tar.gz
Qt-97503dfd7fad9c8023b2f9632e6ef865ccd0cad8.tar.bz2
Fix typo in qglthreads auto test.
Reviewed-by: TRUSTME
-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 0bcc4f6..65bebb0 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));