[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    KOrn patch
From:       Rik Hemsley <rik () kde ! org>
Date:       2000-08-31 18:05:16
[Download RAW message or body]

This patch stops KOrn crashing on closing of a mailbox config dialog and 
also prevents the buttons on the main dialog being greyed out when they 
shouldn't be. It's not the correct fix for either problem, but it'll do for 
now. Please review (it's 2 one-liners)

Rik

["kornpatch" (text/plain)]

Index: dropdlg.cpp
===================================================================
RCS file: /home/kde/kdenetwork/korn/dropdlg.cpp,v
retrieving revision 1.4
diff -u -3 -p -r1.4 dropdlg.cpp
--- dropdlg.cpp	2000/07/11 00:27:13	1.4
+++ dropdlg.cpp	2000/08/31 18:02:58
@@ -65,7 +65,6 @@ void KDropCfgDialog::slotOkClicked()
   slotApplyClicked();
   setResult(Ok);
   emit disassociate( this );
-  delete this;
 }
 /* vim: set noexpandtab tabstop=8 softtabstop=0: */
 #include "dropdlg.moc"
Index: optdlg.cpp
===================================================================
RCS file: /home/kde/kdenetwork/korn/optdlg.cpp,v
retrieving revision 1.10
diff -u -3 -p -r1.10 optdlg.cpp
--- optdlg.cpp	2000/08/16 13:11:38	1.10
+++ optdlg.cpp	2000/08/31 18:02:59
@@ -116,7 +116,7 @@ void KornOptDlg::fillListBox()
 
 	if( !iter.current() ) {
 		// empty list
-		emit listUpdated( false );
+//		emit listUpdated( false );
 		return;
 	}


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic