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 <<