When creating dialogs via createKMessageBox in case the QDialogButtonBox parameter is parentless, the focus shifts from the left most button to any of the following in this order:
- Message Label (if the AllowLink flag is present)
- The string list (if it is not empty)
- Checkbox confirmation (If present)
- Left most action button
Moving the call of setParent of the QDialogButtonBox before any of the above mentioned widgets is created fixes this inconsistency.