D5598: Create KAboutData object only after QApp instance, for working translations
Friedrich W. H. Kossebau
noreply at phabricator.kde.org
Wed Apr 26 12:48:52 UTC 2017
kossebau created this revision.
Restricted Application added a subscriber: kdevelop-devel.
REVISION SUMMARY
i18n() calls gettext, which only after some setlocale(LC_ALL, ""); starts
to look for env variables when deciding on the language catalog to use.
That call is done during QApp instance creation.
See also https://phabricator.kde.org/D5439#102005 and
https://phabricator.kde.org/D5455
Discussion if that is supposed to be like that has to be continued,
but for now this change should keep KDevelop on the safe side.
REPOSITORY
R32 KDevelop
BRANCH
fixAppMetadata
REVISION DETAIL
https://phabricator.kde.org/D5598
AFFECTED FILES
app/main.cpp
To: kossebau, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170426/b57cd59d/attachment.html>
More information about the KDevelop-devel
mailing list