Skip to content

KMessageDialog: fix setButtons() being called twice

Ahmad Samir requested to merge work/ahmad/setbuttons into master

I introduced buggy behaviour in 5.85 by changing the code to call setButtons() by default, doing so broke KIO has been calling setButtons() because that was the only way to have a KMessageDialog with buttons.

This supersedes commit de639a26, I think this is a better fix, just making sure we connect once.

Edited by Ahmad Samir

Merge request reports