[Konversation-devel] [Bug 133312] Initiating a DCC chat crashes konversation

Eli MacKenzie argonel at sympatico.ca
Fri Nov 17 23:04:43 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=133312         
argonel sympatico ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From argonel sympatico ca  2006-11-17 23:04 -------
SVN commit 605705 by argonel:

prevent crash when initiating dcc chat when focus-new-tabs enabled.

BUG: 133312


 M  +3 -1      viewcontainer.cpp  


--- trunk/extragear/network/konversation/src/viewcontainer.cpp #605704:605705
 @ -2022,11 +2022,13  @
     if (m_frontServer)
     {
         DccChat* dccChatPanel=new DccChat(m_tabWidget, myNick,nick,arguments,listen);
-        addView(dccChatPanel, dccChatPanel->getName());
         connect(dccChatPanel, SIGNAL(updateTabNotification(ChatWindow*,const Konversation::TabNotifyType&)), this, SLOT(setViewNotification(ChatWindow*,const Konversation::TabNotifyType&)));
         if(listen)
+	{
             m_frontServer->queue(QString("PRIVMSG %1 :\001DCC CHAT chat %2 %3\001")
               .arg(nick).arg(numericalIp).arg(dccChatPanel->getPort()));
+	}
+        addView(dccChatPanel, dccChatPanel->getName());
     }
 }


More information about the Konversation-devel mailing list