Unbork the dialog. It still crashes for me when setting a global shortcut that is

currently used. Will try to investigate.

CCMAIL: l.lunak@suse.cz

svn path=/trunk/KDE/kdebase/workspace/; revision=837779
This commit is contained in:
Michael Jansen 2008-07-25 17:31:41 +00:00
parent 31444aad22
commit 105ad40c37

View file

@ -410,6 +410,7 @@ ShortcutDialog::ShortcutDialog( const QKeySequence& cut )
: widget( new KKeySequenceWidget( this ))
{
widget->setKeySequence( cut );
setMainWidget( widget );
// make it a popup, so that it has the grab
XSetWindowAttributes attrs;
attrs.override_redirect = True;