summaryrefslogtreecommitdiffstats
path: root/src/modules/dcc/chat.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2018-10-29 18:21:41 +0100
committerSlávek Banko <[email protected]>2022-01-17 13:30:05 +0100
commiteb6ac02bb511f14a2506fb2f3c94d84d469e42cd (patch)
tree138827ff0c8800f67b7725c352950f0df421916b /src/modules/dcc/chat.cpp
parent351c95fe16505298db187a17e4ceff8d2377190b (diff)
downloadkvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.tar.gz
kvirc-eb6ac02bb511f14a2506fb2f3c94d84d469e42cd.zip
Fix build with a clean TQt namespace.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 7cc4356bc2eceb5a66c2263bff44aa472d2ca290)
Diffstat (limited to 'src/modules/dcc/chat.cpp')
-rw-r--r--src/modules/dcc/chat.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dcc/chat.cpp b/src/modules/dcc/chat.cpp
index 38d2ab19..78fd3986 100644
--- a/src/modules/dcc/chat.cpp
+++ b/src/modules/dcc/chat.cpp
@@ -689,7 +689,7 @@ bool KviDccChatThread::handleIncomingData(KviDccThreadIncomingData * data,bool b
KviThreadDataEvent<KviStr> * e = new KviThreadDataEvent<KviStr>(KVI_DCC_THREAD_EVENT_DATA);
// The left part is len chars long
int len = aux - data->buffer;
-// debug("LEN = %d, iLen = %d",len,data->iLen);
+// tqDebug("LEN = %d, iLen = %d",len,data->iLen);
//#warning "DO IT BETTER (the \r cutting)"
KviStr * s = new KviStr(data->buffer,len);
if(s->lastCharIs('\r'))s->cutRight(1);
@@ -698,7 +698,7 @@ bool KviDccChatThread::handleIncomingData(KviDccThreadIncomingData * data,bool b
++aux;
// so len += 1; --> new data->iLen -= len;
data->iLen -= (len + 1);
-// debug("iLen now = %d",data->iLen);
+// tqDebug("iLen now = %d",data->iLen);
__range_valid(data->iLen >= 0);
if(data->iLen > 0)
{
@@ -716,7 +716,7 @@ bool KviDccChatThread::handleIncomingData(KviDccThreadIncomingData * data,bool b
}
postEvent(parent(),e);
} else aux++;
-// debug("PASSING CHAR %c",*aux);
+// tqDebug("PASSING CHAR %c",*aux);
}
// now aux == end
if(bCritical)