Prevent that the translation of Places items is lost if a Dolphin window is closed

Review Request #118207 - Created May 19, 2014 and submitted

Information
Frank Reininghaus
kde-baseapps
KDE/4.13
334999
Reviewers
dolphin
If the "Places" are updated outside the current Dolphin process, PlacesItemModel::updateBookmarks() is called, which invokes PlacesItem::setBookmark(const KBookmark& bookmark) for each item. This commit ensures that the correct translation is used for system bookmarks like "Root", "Network", etc.

Without this patch, all Places entries in the remaining Dolphin windows will switch to US English if one of multiple windows is closed.

Note that another fix has been pushed to master some time ago, but I think that this solution is better. See http://lists.kde.org/?t=139660468400004&r=1&w=2 for details.
Fixes the problem for me.
Emmanuel Pescosta
Commit Hook
This review has been submitted with commit 8f0202514bf692d6b9b046063392151ee10e364c by Frank Reininghaus to branch KDE/4.13.
Frank Reininghaus
Review request changed

Status: Closed (submitted)

Loading...