[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: meinproc4 on Mac, KLocale (was Re: What to test for =?iso-8859-1?Q?4.13=3F)?=
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2014-03-21 12:52:32
Message-ID: d3cde031-4cb0-4db0-8993-297df292be55 () gmail ! com
[Download RAW message or body]
On Freitag, 21. März 2014 08:24:06 CEST, Ian Wadham wrote:
> That call to KGlobal::locale(); seems an odd one, KDE guys.
> That function is supposed to
> return a locale (KLocale *), but here it is executed as a
> procedure, ignoring the return
> result. I can only conclude that the code is being executed
> for its side-effects:
It will likely be to call protected KLocale::initInstance(), eventually to intantiate \
it from the main thread for sure.
Not sure if it's required at all - look at the date of the commit!
commit 693da1d1df4876d7c898f3035beead76288872d5
Author: Stephan Kulow <......@kde.org>
Date: Fri Jul 6 15:19:46 2001 +0000
update to docbook-xsl 1.40
[....]
- KGlobal::locale()->setMainCatalogue("kio_help");
+ KLocale::setMainCatalogue("kio_help");
KInstance ins("meinproc");
+ KGlobal::locale();
[....]
Cheers,
Tomas
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic