From e77032c4e6c802f8e2397eb3c9d8daf1ee64266c Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Wed, 7 Sep 2011 14:56:47 +0200 Subject: [PATCH] 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 Reviewed-by: Oswald Buddenhagen --- tests/auto/qstylesheetstyle/tst_qstylesheetstyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);