mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-05 03:14:44 +00:00
- removed no longer needed pointer
- made use of QPointer instead of c++ pointer
This commit is contained in:
parent
cfbd06225b
commit
b984c309ff
@ -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…
x
Reference in New Issue
Block a user