Fix tst_qstyle autotest build for WEC7.

Apparently testAllFunctions method has been changed to take pointer,
but code inside different WinCE defines was not updated.

Change-Id: Id15380ecc1e85650d679cb7437923ff9c77057ae
Reviewed-by: Björn Breitmeyer <bjoern.breitmeyer@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com>
This commit is contained in:
Janne Anttila 2013-04-17 15:56:16 +03:00 committed by The Qt Project
parent 2d73648c71
commit 4f0770eaab

View File

@ -548,7 +548,7 @@ void tst_QStyle::testMacStyle()
void tst_QStyle::testWindowsCEStyle()
{
QStyle *cstyle = QStyleFactory::create("WindowsCE");
QVERIFY(testAllFunctions(&cstyle));
QVERIFY(testAllFunctions(cstyle));
delete cstyle;
}
#endif
@ -558,7 +558,7 @@ void tst_QStyle::testWindowsCEStyle()
void tst_QStyle::testWindowsMobileStyle()
{
QStyle *cstyle = QStyleFactory::create("WindowsMobile");
QVERIFY(testAllFunctions(&cstyle));
QVERIFY(testAllFunctions(cstyle));
delete cstyle;
}
#endif