aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/http
diff options
context:
space:
mode:
authorGravatar Fabio Bas2010-05-14 15:34:46 +0000
committerGravatar Fabio Bas2010-05-14 15:34:46 +0000
commitaad56933ad2963dbdde242d5b483d5b45ad35681 (patch)
tree02a99ef0770fbbc5be17c760603ce7bbb369f18d /src/modules/http
parentcompilation fix if no ssl and no crypto++ installed (diff)
downloadKVIrc-aad56933ad2963dbdde242d5b483d5b45ad35681.tar.gz
KVIrc-aad56933ad2963dbdde242d5b483d5b45ad35681.tar.bz2
KVIrc-aad56933ad2963dbdde242d5b483d5b45ad35681.zip
removed compilation warnings
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4319 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/http')
-rw-r--r--src/modules/http/httpfiletransfer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
index f2cb79dd5..cab8f98b9 100644
--- a/src/modules/http/httpfiletransfer.cpp
+++ b/src/modules/http/httpfiletransfer.cpp
@@ -260,16 +260,16 @@ void KviHttpFileTransfer::displayPaint(QPainter * p,int column, QRect rect)
{
KviTimeUtils::secondsToDaysHoursMinsSecs(kvi_timeSpan(m_tTransferEndTime,m_tTransferStartTime),&uD,&uH,&uM,&uS);
txt = "TOT: ";
- if(uD > 0)txt += QString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD, uH, uM, uS);
- else if(uH > 0)txt += QString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH, uM, uS);
+ if(uD > 0)txt += QString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD).arg(uH).arg(uM).arg(uS);
+ else if(uH > 0)txt += QString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH).arg(uM).arg(uS);
else txt += QString(__tr2qs_ctx("%3m %4s","http")).arg(uM, uS);
} else {
if(iEta >= 0)
{
KviTimeUtils::secondsToDaysHoursMinsSecs(iEta,&uD,&uH,&uM,&uS);
txt = "ETA: ";
- if(uD > 0)txt += QString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD, uH, uM, uS);
- else if(uH > 0)txt += QString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH, uM, uS);
+ if(uD > 0)txt += QString(__tr2qs_ctx("%1d %2h %3m %4s","http")).arg(uD).arg(uH).arg(uM).arg(uS);
+ else if(uH > 0)txt += QString(__tr2qs_ctx("%2h %3m %4s","http")).arg(uH).arg(uM).arg(uS);
else txt += QString(__tr2qs_ctx("%3m %4s","http")).arg(uM, uS);
} else {
txt = "ETA: Unknown";