On Friday 04 July 2008, André Wöbbeking wrote:
> IMO it's a Qt regression to give focus to a button which is not the
> default one.
In QDialog::setVisible() this looks strange:
if (fw && !fw->hasFocus()) {
QFocusEvent e(QEvent::FocusIn, Qt::TabFocusReason);
QApplication::sendEvent(fw, &e);
}
Doesn't it give focus to a random widget?