File linkt_Disc_channel.dif of Package linkt

diff -Nur linkt-0.8rc3.orig/linkt/channel.cpp linkt-0.8rc3/linkt/channel.cpp
--- linkt-0.8rc3.orig/linkt/channel.cpp	2004-11-11 14:34:37.000000000 +0100
+++ linkt-0.8rc3/linkt/channel.cpp	2007-03-01 23:09:27.000000000 +0100
@@ -1767,7 +1767,7 @@
 	      logBookEntry();
    }
 
-   if (sendQueue->allSent() || old_status == 0)
+   if (sendQueue->allSent() && old_status == 0)
       closeQSOWindow();
 }
 //---------------------------------------------------------------------------
@@ -1830,7 +1830,7 @@
 	toplevel->deleteChannelList( this );
 	if (toplevel->currentChannel == this)
 		toplevel->currentChannel = NULL;
-	delete this;
+	deleteLater();
 }
 //---------------------------------------------------------------------------
 void Channel::settings()
openSUSE Build Service is sponsored by