PATCH: let the kcmodule decide if the defaults changed the client state

Sebastian Trueg trueg at k3b.org
Sat Dec 13 12:18:59 GMT 2003


Hy,

I don't understand why the kcontrolcenter always assumes clicking the default 
button changes the client's state. The following patch removes this and 
leaves this decision to the client.

May I commit or did I miss something here?

Cheers,
Sebastian

--- kcdialog.cpp        11 Nov 2003 16:50:35 -0000      1.28
+++ kcdialog.cpp        13 Dec 2003 12:16:30 -0000
@@ -55,7 +55,6 @@ KCDialog::KCDialog(KCModule *client, int
 void KCDialog::slotDefault()
 {
     _client->defaults();
-    clientChanged(true);
 }

 void KCDialog::slotOk()




More information about the kde-core-devel mailing list