]> 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 16:57:47 +0000 (18:57 +0200)
commit2727715cdd8aa738f4b5f0bbcca55a9d249be77b
tree31fca67c6a7db28dc980a63181447eee9faa32d0
parente7793132e8fc1549bb7781b43dbee840211224e6
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
src/kitemviews/kfileitemmodel.cpp