summaryrefslogtreecommitdiff
blob: b406e801e1d7fe9ca22c9e39a3bc803419d96479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- trunk/extragear/network/konversation/src/viewcontainer.cpp	2006/11/17 17:50:03	605661
+++ trunk/extragear/network/konversation/src/viewcontainer.cpp	2006/11/17 22:04:32	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());
     }
 }