Commit f64a82bd authored by Frank Reininghaus's avatar Frank Reininghaus

Do not show '-' for additional info which is not available for an item

I'm only backporting the removal of the '-', not the update for the
line number calculation in Icons View, because this is the safest part
of the patch and also the one that fixes the most annoying part of the

Thanks to Todd Jennings for the patch!
BUG: 304752
REVIEW: 106304
(cherry picked from commit 20b0cb68)
parent cb79ee6a
......@@ -108,13 +108,6 @@ QHash<QByteArray, QVariant> KNepomukRolesProvider::roleValues(const Nepomuk::Res
// Assure that empty values get replaced by "-"
foreach (const QByteArray& role, roles) {
if (m_roles.contains(role) && values.value(role).toString().isEmpty()) {
values.insert(role, QLatin1String("-"));
return values;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment