K4AboutData

David Faure faure at kde.org
Tue Nov 26 13:48:58 UTC 2013


On Tuesday 26 November 2013 09:56:54 Stephen Kelly wrote:
> I looked into this to try to understand, but I still don't understand why a 
> patch something like this can not be applied:

The problem is with the code in main(), that would call this.

KCmdLineArgs *has* to be used before the QCoreApplication constructor.

KAboutData requires i18n() or tr().

i18n() or tr() has to be used *after* the QCoreApplication constructor.

GOTO 10.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list