summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Hautakangas <jani.hautakangas@nokia.com>2011-01-28 11:12:47 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2011-02-21 15:08:16 (GMT)
commit0828c69ad805406568f6eef2bffbbd54b04dea41 (patch)
treea96ee65a5d9b7c86564d9736e815121bf47f77e2
parent7cd7785deb5d2cccaa712699c1dda1980a5983e5 (diff)
downloadQt-0828c69ad805406568f6eef2bffbbd54b04dea41.zip
Qt-0828c69ad805406568f6eef2bffbbd54b04dea41.tar.gz
Qt-0828c69ad805406568f6eef2bffbbd54b04dea41.tar.bz2
Fix typo in qglthreads auto test.v4.7.2
Reviewed-by: TRUSTME (cherry picked from commit 97503dfd7fad9c8023b2f9632e6ef865ccd0cad8)
-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 ffbb300..9ee7309 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));