[patch] KLocale: minor optimization + use safer qgetenv
js at iidea.pl
Thu Mar 6 11:50:06 GMT 2008
- Minor optimization: before we've typically iterated twice (in
initLanguageList() and setLanguage() over lost of (typically) empty strings.
- Use safer qgetenv, based on getenv_s under msvc>=2k5 and just ::getenv
I shall also propose more changes to qgetenv (and qputenv), especially in
places where we cast to QByteArray or QString.
regards / pozdrawiam, Jaroslaw Staniek
Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
Kexi & KOffice (http://www.kexi.pl/en, http://www.koffice.org/kexi)
KDE Libraries for MS Windows (http://windows.kde.org)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the kde-core-devel