QCoreApplicaion object should exist at the moment when KAboutData::setApplicationData() is called. And it should be created even before KAboutData object.
BUG: 378539
aacid | |
ltoscano |
Frameworks |
QCoreApplicaion object should exist at the moment when KAboutData::setApplicationData() is called. And it should be created even before KAboutData object.
BUG: 378539
As was mentioned in bug, swapping those two lines and recompiling resolves the issue. No warning displayed anymore.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
Moved QCoreApplication object creation before KAboutData object creation.
But, in neighbour directories, src/tools/ baloosearch and balooctl also have this problem then - QCoreApplication object is created right before KAboutData::setApplicationData() call.
Ex.: https://cgit.kde.org/baloo.git/tree/src/tools/baloosearch/main.cpp#n45
Thanks! Do you have a developer account (aka: can you commit it possibly with arcanist)?