Browse Source

- removed no longer needed pointer

- made use of QPointer instead of c++ pointer
adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
b984c309ff
  1. 8
      src/bittorrent.h

8
src/bittorrent.h

@ -37,7 +37,6 @@
using namespace libtorrent; using namespace libtorrent;
class downloadThread; class downloadThread;
class deleteThread;
class QTimer; class QTimer;
class FilterParserThread; class FilterParserThread;
@ -48,16 +47,15 @@ class bittorrent : public QObject {
session *s; session *s;
QString scan_dir; QString scan_dir;
QPointer<QTimer> timerScan; QPointer<QTimer> timerScan;
QTimer *timerAlerts; QPointer<QTimer> timerAlerts;
QTimer *fastResumeSaver; QPointer<QTimer> fastResumeSaver;
QPointer<QTimer> BigRatioTimer; QPointer<QTimer> BigRatioTimer;
bool DHTEnabled; bool DHTEnabled;
downloadThread *downloader; QPointer<downloadThread> downloader;
QString defaultSavePath; QString defaultSavePath;
QHash<QString, QHash<QString, QString> > trackersErrors; QHash<QString, QHash<QString, QString> > trackersErrors;
QStringList consoleMessages; QStringList consoleMessages;
QStringList peerBanMessages; QStringList peerBanMessages;
deleteThread *deleter;
QStringList finishedTorrents; QStringList finishedTorrents;
QStringList unfinishedTorrents; QStringList unfinishedTorrents;
bool preAllocateAll; bool preAllocateAll;

Loading…
Cancel
Save