Focus the cancel button by default, so that one does not activate compositing by mistake.
BUG: 164150 svn path=/branches/KDE/4.1/kdebase/workspace/; revision=830911
This commit is contained in:
parent
23f072f64a
commit
8c4082609f
1 changed files with 1 additions and 0 deletions
|
@ -52,6 +52,7 @@ KTimerDialog::KTimerDialog( int msec, TimerStyle style, QWidget *parent,
|
||||||
setCaption( caption );
|
setCaption( caption );
|
||||||
setButtons( (ButtonCodes)buttonMask );
|
setButtons( (ButtonCodes)buttonMask );
|
||||||
setDefaultButton( defaultButton );
|
setDefaultButton( defaultButton );
|
||||||
|
setButtonFocus( defaultButton ); // setDefaultButton() doesn't do this
|
||||||
showButtonSeparator( separator );
|
showButtonSeparator( separator );
|
||||||
setButtonGuiItem( User1, user1 );
|
setButtonGuiItem( User1, user1 );
|
||||||
setButtonGuiItem( User2, user2 );
|
setButtonGuiItem( User2, user2 );
|
||||||
|
|
Loading…
Reference in a new issue