From bd2bdc040bf5c46e3d115603c4de4d9718e139f3 Mon Sep 17 00:00:00 2001 From: Craig Drummond Date: Fri, 9 Nov 2007 08:02:24 +0000 Subject: [PATCH] Fix parentless dialogs svn path=/trunk/KDE/kdebase/workspace/; revision=734552 --- kcmkwin/kwinrules/ruleslist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kcmkwin/kwinrules/ruleslist.cpp b/kcmkwin/kwinrules/ruleslist.cpp index 9f707cf3b1..535bdce02b 100644 --- a/kcmkwin/kwinrules/ruleslist.cpp +++ b/kcmkwin/kwinrules/ruleslist.cpp @@ -77,7 +77,7 @@ void KCMRulesList::activeChanged() void KCMRulesList::newClicked() { - RulesDialog dlg; + RulesDialog dlg(this); Rules* rule = dlg.edit( NULL, 0, false ); if( rule == NULL ) return; @@ -93,7 +93,7 @@ void KCMRulesList::modifyClicked() int pos = rules_listbox->currentRow(); if ( pos == -1 ) return; - RulesDialog dlg; + RulesDialog dlg(this); Rules* rule = dlg.edit( rules[ pos ], 0, false ); if( rule == rules[ pos ] ) return;