diff options
| author | 2010-07-18 14:47:56 +0000 | |
|---|---|---|
| committer | 2010-07-18 14:47:56 +0000 | |
| commit | 18317b158bcca064f67d8d8157d9e1846f9683fd (patch) | |
| tree | 8802defa966b8e5022e6600b2e0a3faab0d6c014 /src/modules/dcc/chat.cpp | |
| parent | updated french translation by xoffice (diff) | |
| download | KVIrc-18317b158bcca064f67d8d8157d9e1846f9683fd.tar.gz KVIrc-18317b158bcca064f67d8d8157d9e1846f9683fd.tar.bz2 KVIrc-18317b158bcca064f67d8d8157d9e1846f9683fd.zip | |
fix for #849
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4674 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/dcc/chat.cpp')
| -rw-r--r-- | src/modules/dcc/chat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp index 1ed7cd0d8..7c8c09fee 100644 --- a/src/modules/dcc/chat.cpp +++ b/src/modules/dcc/chat.cpp @@ -540,6 +540,7 @@ void KviDccChat::connected() updateCaption(); m_pSlaveThread = new KviDccChatThread(this,m_pMarshal->releaseSocket()); + #ifdef COMPILE_SSL_SUPPORT KviSSL * s = m_pMarshal->releaseSSL(); if(s) @@ -556,6 +557,12 @@ void KviDccChat::connected() &(m_pMarshal->remoteIp()),&(m_pMarshal->remotePort())); output(KVI_OUT_DCCMSG,__tr2qs_ctx("Local end is %Q:%Q","dcc"), &(m_pMarshal->localIp()),&(m_pMarshal->localPort())); +#ifdef COMPILE_SSL_SUPPORT + QString tmp = QString("dcc: %1 %2@%3:%4").arg(m_pDescriptor->bIsSSL ? "SChat" : "Chat", m_pDescriptor->szNick, m_pDescriptor->szIp, m_pDescriptor->szPort); +#else + QString tmp = QString("dcc: %1 %2@%3:%4").arg("Chat", m_pDescriptor->szNick, m_pDescriptor->szIp, m_pDescriptor->szPort); +#endif + m_pLabel->setText(tmp); } } |
