Fix timezone saving in System Settings -> Date & Time

Review Request #114321 - Created Dec. 5, 2013 and updated - Latest diff uploaded

Information
Lukáš Tinkl
kde-workspace
KDE/4.11
159171, 323511
Reviewers
kde-workspace
- fix saving/loading of timezones in kcmclock
- do not mark the module as changed right after the new timezone gets loaded back

Besides the above mentioned bugs, it also fixes https://bugzilla.redhat.com/show_bug.cgi?id=990146
In the past, this would for some reason only work sporadically and make ktimezoned utterly confused; now it correctly sets a symlink (instead of copying the file over) from /etc/localtime to the respective file under /usr/share/zoneinfo (as described in "man tzset"). The symlink points to the right location after each save. Launching the module again, it shows the correct timezone, as previously saved. 
Loading...