diff --git a/applets/kicker/plugin/computermodel.cpp b/applets/kicker/plugin/computermodel.cpp --- a/applets/kicker/plugin/computermodel.cpp +++ b/applets/kicker/plugin/computermodel.cpp @@ -219,6 +219,8 @@ if (access) { return access->filePath(); + } else { + return QString(); } } else { const QUrl &url = m_filteredPlacesModel->url(sourceIndex); diff --git a/applets/kicker/plugin/recentcontactsmodel.cpp b/applets/kicker/plugin/recentcontactsmodel.cpp --- a/applets/kicker/plugin/recentcontactsmodel.cpp +++ b/applets/kicker/plugin/recentcontactsmodel.cpp @@ -93,6 +93,8 @@ actionList << Kicker::createActionItem(i18n("Show Contact Information..."), "showContactInfo"); return actionList; + } else if (role == Kicker::DescriptionRole) { + return QString(); } return QVariant();