[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Handling of default button in KDialog broken
From:       André_Wöbbeking <Woebbeking () kde ! org>
Date:       2008-07-04 15:19:24
Message-ID: 200807041719.25081.Woebbeking () kde ! org
[Download RAW message or body]

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?

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic