From b984c309ff2e7a03962e410040823d7855ba0eb3 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 4 Nov 2008 19:01:51 +0000 Subject: [PATCH] - removed no longer needed pointer - made use of QPointer instead of c++ pointer --- src/bittorrent.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/bittorrent.h b/src/bittorrent.h index 9cd3505db..66e15f0fa 100644 --- a/src/bittorrent.h +++ b/src/bittorrent.h @@ -37,7 +37,6 @@ using namespace libtorrent; class downloadThread; -class deleteThread; class QTimer; class FilterParserThread; @@ -48,16 +47,15 @@ class bittorrent : public QObject { session *s; QString scan_dir; QPointer timerScan; - QTimer *timerAlerts; - QTimer *fastResumeSaver; + QPointer timerAlerts; + QPointer fastResumeSaver; QPointer BigRatioTimer; bool DHTEnabled; - downloadThread *downloader; + QPointer downloader; QString defaultSavePath; QHash > trackersErrors; QStringList consoleMessages; QStringList peerBanMessages; - deleteThread *deleter; QStringList finishedTorrents; QStringList unfinishedTorrents; bool preAllocateAll;