D8351: API dox: add note about calling setApplicationDomain after QApp creation

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Tue Oct 17 22:29:31 UTC 2017


kossebau added a comment.


  Another option might be to split off a data structure where the application domain string is stored separately, and thus delay the initialization of the KLocalizedStringPrivateStatics instance to the first i18n call. Though given that the initialisation sets global values which then are const for the rest of the runtime based on the environment at the time, that would be slightly random.
  Having straight control about the time when the init is done feels better to me. Possibly that should be even more emphasized in the API dox?

REPOSITORY
  R249 KI18n

REVISION DETAIL
  https://phabricator.kde.org/D8351

To: kossebau, #frameworks, ilic, ltoscano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171017/f5253a73/attachment.html>


More information about the Kde-frameworks-devel mailing list