aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/http/httpfiletransfer.cpp
diff options
context:
space:
mode:
authorGravatar Noldor2008-05-13 15:28:49 +0000
committerGravatar Noldor2008-05-13 15:28:49 +0000
commitbc07070cb9f301d824e73a553289a1824b6c775a (patch)
tree73534846921a7746a04f0dca93edeeec417997a4 /src/modules/http/httpfiletransfer.cpp
parentadded uk locale (ukraine, not united kingdom!) to info.plist (diff)
downloadKVIrc-bc07070cb9f301d824e73a553289a1824b6c775a.tar.gz
KVIrc-bc07070cb9f301d824e73a553289a1824b6c775a.tar.bz2
KVIrc-bc07070cb9f301d824e73a553289a1824b6c775a.zip
Huge QT4 port commit :) (wip)
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@1765 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/http/httpfiletransfer.cpp')
-rw-r--r--src/modules/http/httpfiletransfer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/http/httpfiletransfer.cpp b/src/modules/http/httpfiletransfer.cpp
index e61c50514..b28b39954 100644
--- a/src/modules/http/httpfiletransfer.cpp
+++ b/src/modules/http/httpfiletransfer.cpp
@@ -83,6 +83,7 @@ KviHttpFileTransfer::~KviHttpFileTransfer()
void KviHttpFileTransfer::autoClean()
{
+ killTimer(m_TimerId);
die();
}
@@ -457,7 +458,8 @@ void KviHttpFileTransfer::transferTerminated(bool bSuccess)
if(m_pAutoCleanTimer)delete m_pAutoCleanTimer;
m_pAutoCleanTimer = new QTimer();
connect(m_pAutoCleanTimer,SIGNAL(timeout()),this,SLOT(autoClean()));
- m_pAutoCleanTimer->start(100,true);
+ m_pAutoCleanTimer->start(100);
+ m_TimerId=m_pAutoCleanTimer->timerId();
}
}