diff -r 2e2dc3d30ca8 -r 341166945d65 homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuitemmodel.cpp --- a/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuitemmodel.cpp Thu Jun 24 13:11:40 2010 +0100 +++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuitemmodel.cpp Fri Jun 25 19:19:22 2010 +0300 @@ -15,6 +15,8 @@ * */ +#include + #include "hsmenuitemmodel.h" #include "hsmenuserviceutils.h" @@ -72,6 +74,13 @@ icons << HbIcon(newIconId()); variant = QVariant(icons); + } else if (role == Hb::IndexFeedbackRole){ + QVariant display = CaItemModel::data(index, Qt::DisplayRole); + if (display.type() == QVariant::String){ + variant = display; + } else { + variant = QVariant(display.toList().at(0)); + } } else { variant = CaItemModel::data(index, role); }