diff options
Diffstat (limited to 'src/modules/http/httpfiletransfer.cpp')
| -rw-r--r-- | src/modules/http/httpfiletransfer.cpp | 4 |
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(); } } |
