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

Cristian Onet onet.cristian at gmail.com
Mon Sep 13 08:04:52 CEST 2010



> On 2010-09-12 21:12:15, Dennis Nienhüser wrote:
> > Looks good, please commit.

Done. Can it be also backported to the 4.5 branch?


- Cristian


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


On 2010-09-12 11:05:28, Cristian Onet wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://svn.reviewboard.kde.org/r/5323/
> -----------------------------------------------------------
> 
> (Updated 2010-09-12 11:05:28)
> 
> 
> Review request for marble and Dennis Nienhüser.
> 
> 
> Summary
> -------
> 
> 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/20100913/34ff64ed/attachment.htm 


More information about the Marble-devel mailing list