Fix i18n regression

Albert Astals Cid aacid at kde.org
Mon Sep 13 22:37:38 BST 2010


Hi, 

r1170981 | dfaure | 2010-09-02 12:42:10 +0100 (dj, 02 set 2010) | 4 lines

Fix crash in KGlobal::locale() when using a kde dialog from a pure-Qt 
application
 (e.g. Open File in Qt Creator...)
BUG: 248194

caused a regression for some programs (i tested with kpat, but people says 
koffice and amarok are also affected) in that i18n did not work at all.

I've traced the problem to a klocale over a fake component being created for 
some reason before the klocale with the correct component and thus the klocale 
with the correct component never being set.

This patch fixes the problem for me.

Comments?

Albert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: klocale.patch
Type: text/x-patch
Size: 1361 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100913/97df85bb/attachment.bin>


More information about the kde-core-devel mailing list