Focus the cancel button by default, so that one does not activate compositing by mistake.

BUG: 164150


svn path=/trunk/KDE/kdebase/workspace/; revision=830906
This commit is contained in:
Luboš Luňák 2008-07-11 12:31:36 +00:00
parent f01bfcc62b
commit e29b120fd7

View file

@ -52,6 +52,7 @@ KTimerDialog::KTimerDialog( int msec, TimerStyle style, QWidget *parent,
setCaption( caption );
setButtons( (ButtonCodes)buttonMask );
setDefaultButton( defaultButton );
setButtonFocus( defaultButton ); // setDefaultButton() doesn't do this
showButtonSeparator( separator );
setButtonGuiItem( User1, user1 );
setButtonGuiItem( User2, user2 );