diff -r 2c9d3aa5bea2 -r 20bd089f4aaa controlpanel/examples/themeplugin/src/cpthemeplugin.cpp --- a/controlpanel/examples/themeplugin/src/cpthemeplugin.cpp Thu Apr 01 03:17:51 2010 +0800 +++ b/controlpanel/examples/themeplugin/src/cpthemeplugin.cpp Thu Apr 01 03:23:37 2010 +0800 @@ -25,11 +25,11 @@ { } -CpSettingFormItemData *CpThemePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const +QList CpThemePlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const { CpSettingFormEntryItemData *entryItem = new CpThemePluginEntryItemData( itemDataHelper,tr("Theme"),tr("Name of the Theme"),HbIcon(":/image/qgn_menu_note.svg")); - return entryItem; + return QList() << entryItem; } Q_EXPORT_PLUGIN2(cpthemeplugin, CpThemePlugin);