D14922: Assert if trying to use a KCatalog without a QCoreApplication

Albert Astals Cid noreply at phabricator.kde.org
Sat Aug 18 21:55:17 BST 2018


aacid created this revision.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
aacid requested review of this revision.

REVISION SUMMARY
  QCoreApplication init calls
  
    setlocale(LC_ALL, "");
  
  that is crucial for gettext to work, so assert if
  the user tries to use it before.

REPOSITORY
  R249 KI18n

BRANCH
  master

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

AFFECTED FILES
  src/kcatalog.cpp

To: aacid
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180818/72964c02/attachment.html>


More information about the Kde-frameworks-devel mailing list