From 105ad40c370a415c13d036ac3c43e224ad578980 Mon Sep 17 00:00:00 2001 From: Michael Jansen Date: Fri, 25 Jul 2008 17:31:41 +0000 Subject: [PATCH] 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 --- utils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils.cpp b/utils.cpp index de949f526d..a983b37e43 100644 --- a/utils.cpp +++ b/utils.cpp @@ -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;