The attached patch fixes a crash when the detailed information dialog in
kpowersave is activated via dcop and closed via Ok.
Feel free to use it.

Cheers,
Michael

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398201
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/src/kpowersave.cpp b/src/kpowersave.cpp
index 1b6b31a..66f8cd3 100644
--- a/src/kpowersave.cpp
+++ b/src/kpowersave.cpp
@@ -2006,7 +2006,8 @@ void kpowersave::showDetailedDialog( ){
 		detailedDlg->show();
 		detailedIsShown = true;
 	}
-
+	
+	connect(detailedDlg, SIGNAL(destroyed()), this, SLOT(closedetaileddialog()));
 }
 
 /*!

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
powersave-devel mailing list
[email protected]
http://forge.novell.com/mailman/listinfo/powersave-devel

Reply via email to