For some reason I got two "Help" buttons in the crash report assistand, one of which didn't work.
It seems KAssistantDialog adds a help button by default or merely accessing it creates one?
For some reason I got two "Help" buttons in the crash report assistand, one of which didn't work.
It seems KAssistantDialog adds a help button by default or merely accessing it creates one?
Just one Help button and that one works
Lint Skipped |
Unit Tests Skipped |
Yes, KAssistantDialog says
buttonBox->setStandardButtons(QDialogButtonBox::Cancel | QDialogButtonBox::Help);
If you then call addButton(Help) you get another one.
I do wonder if KAssistantDialog should be doing this indeed. It means it offers a button that does nothing, by default, and just hopes that the app will connect to it.
https://git.reviewboard.kde.org/r/123939/ added this button, but I think it would have been better to let the apps do it. But now we can't take it out again, code that calls button(Help) would get a null pointer and crash...