[Marble-devel] Review Request: Fix KWorldClock plasmoid bug when using a localized version

Cristian Onet onet.cristian at gmail.com
Sun Sep 12 12:58:04 CEST 2010


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://svn.reviewboard.kde.org/r/5323/
-----------------------------------------------------------

Review request for marble.


Summary
-------

This patch contains a fix for https://bugs.kde.org/show_bug.cgi?id=240979
The BUG is caused by using a translated string as the value of m_locationkey (causing the invalid time) and not displaying the translated string when the time was correctly displayed on mouse hovering.
This patch fixes both issues by always using the english string for m_locationkey (which is used for computing the correct timezone) and displaying the translated string upon rendering (and font calculations).

The moving of the setProjection statement after setMapThemeId was done to fix a crash when calling setProjection due to the fact that d->m_mapTheme is null until setMapThemeId is called.


This addresses bug 240979.
    https://bugs.kde.org/show_bug.cgi?id=240979


Diffs
-----

  trunk/KDE/kdeedu/marble/src/plasmoid/worldclock.cpp 1174375 

Diff: http://svn.reviewboard.kde.org/r/5323/diff


Testing
-------

Tested the scenario described in the bug report and it works as expected.


Thanks,

Cristian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/marble-devel/attachments/20100912/47ffbe12/attachment.htm 


More information about the Marble-devel mailing list