summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@nokia.com>2011-09-07 14:56:47 +0200
committerQt by Nokia <qt-info@nokia.com>2011-09-07 15:53:35 +0200
commite77032c4e6c802f8e2397eb3c9d8daf1ee64266c (patch)
tree71f5733f5952c822a504a5680640b046a5ba9125
parentebfcb7eb78d0e895c814379ccf67b7c2bd46acad (diff)
Change in tst_qstylesheetstyle.cpp to work around a bug in testcocoon parser.
Change-Id: I1361e4c02e0c8a0424957c531e22a7b2236f725d Reviewed-on: http://codereview.qt.nokia.com/4360 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
-rw-r--r--tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
index a8dfea99d0..4f742c00eb 100644
--- a/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
+++ b/tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp
@@ -1650,7 +1650,7 @@ void tst_QStyleSheetStyle::QTBUG11658_cachecrash()
void tst_QStyleSheetStyle::QTBUG15910_crashNullWidget()
{
- struct : QWidget {
+ struct Widget : QWidget {
virtual void paintEvent(QPaintEvent* ) {
QStyleOption opt;
opt.init(this);