diff --git a/smsapp/smshelper.cpp b/smsapp/smshelper.cpp index d21d9ee8f..e1e9173fc 100644 --- a/smsapp/smshelper.cpp +++ b/smsapp/smshelper.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include @@ -254,8 +255,8 @@ QIcon SmsHelper::getIconForAddresses(const QList& addresses if (personData) { icons.append(personData->photo()); } else { - // The contact is not known to KPeople - // TODO: Use generic icon from KPeople + static QString dummyAvatar = QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kf5/kpeople/dummy_avatar.png")); + icons.append(QPixmap(dummyAvatar)); } }