controlpanelplugins/themeplugin/tsrc/unit/unittest_cpthemeplugin/unittest_cpthemeplugin.cpp
changeset 40 593f946f4fec
parent 11 10d0dd0e43f1
--- a/controlpanelplugins/themeplugin/tsrc/unit/unittest_cpthemeplugin/unittest_cpthemeplugin.cpp	Fri Jun 25 17:12:20 2010 +0800
+++ b/controlpanelplugins/themeplugin/tsrc/unit/unittest_cpthemeplugin/unittest_cpthemeplugin.cpp	Wed Sep 29 10:09:58 2010 +0800
@@ -42,11 +42,11 @@
     CpThemePlugin *obj = new CpThemePlugin();
     CpItemDataHelper helper;
 
-    QVERIFY(obj->createSettingFormItemData(helper) != 0);
+    QVERIFY(obj->createSettingFormItemData(helper).at(0) != 0);
 
     delete obj;
 }
 
 
 QTEST_MAIN(TestCpThemePlugin)
-#include "unittest_cpthemeplugin.moc"
\ No newline at end of file
+#include "unittest_cpthemeplugin.moc"