| Log Message: |
In a Qt-only app, KGlobal will return a valid (but fake) mainComponent that has a KAboutData object that does not have a proper name. This means that the existing Qt-only fallback present is never triggered, and all Qt-only applications will be identified as "KDE", which in most cases wouldn't be correct.
To remedy this, only try getting the name from KAboutData if KGlobal has a real mainComponent by checking KGlobal::hasMainComponent() first.
Thanks to Harald Sitter for the patch, for whom I am committing because he left his ssh keys at home
|