Richard Heck wrote:
For some reason, changing the type of the dialog switches the default button from OK to Cancel. This restores the correct default. Must be a QT bug.
If it is, it must be local to linux. Here (WinXP, Qt4.2.1) the focus stays on the OK button.
Still seeking two OKs...or at least some reaction!
Your patch cannot do much harm so I am OK with it (even if there's nothing to fix on Windows, #ifdef perhaps?). But please enclose your comments in a FIXME (or a \todo if that is the current rule).
Abdel.