]> cloud.milkyroute.net Git - dolphin.git/commit
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus
authorFrank Reininghaus <frank78ac@googlemail.com>
Fri, 24 Aug 2012 16:51:27 +0000 (18:51 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Fri, 24 Aug 2012 17:00:03 +0000 (19:00 +0200)
commit89a678241d7f0b341bebd19c006541bd7f28f2ab
tree281c98fdc40f8b05ba34421b655df8088574ff5b
parent707dfbec0e2c0277b008e22abd7ab5373a09c8d7
Fix regression that caused "(I18N_EMPTY_MESSAGE)" sub menus in menus

For top-level roles like "Name" and "Size", the group translation is 0.
In that case, the "group" member of the corresponding RoleInfo struct
must be an empty string. This is expected by the code which generates
Dolphin's menus, which group the top-level roles into a sub menu with
the name "(I18N_EMPTY_MESSAGE)" otherwise. This is a recent regression
caused by 199fabbaa8d8a12fb49e4c9922c38ec8b033923c.

Thanks to Christoph Feck for investigating this issue!

CCBUG: 305228
(cherry picked from commit 168d0511c754008cc679589566d961beb9f6cc10)
src/kitemviews/kfileitemmodel.cpp