Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 60ab0959 authored by Laurent Montel's avatar Laurent Montel 😁

Use QStringLiteral

parent 6b4ebdee
......@@ -154,8 +154,8 @@ QVariant scores::data(const QModelIndex &index, int role) const
if (role == Qt::DecorationRole)
QString icon;
if (p.isHuman()) icon = QLatin1String("user-identity");
else icon = QLatin1String("cpu");
if (p.isHuman()) icon = QStringLiteral("user-identity");
else icon = QStringLiteral("cpu");
return KIconLoader::global()->loadIcon(icon, KIconLoader::NoGroup, KIconLoader::SizeMedium);
else if (role == Qt::DisplayRole)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment