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
bug.
Thanks to Todd Jennings for the patch!
BUG: 304752
REVIEW: 106304
(cherry picked from commit
20b0cb68bf5cc1099fd6e61982817d9e2ae0130c)
- // 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("-"));
- }
- }
-