mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
- Removed useless function
This commit is contained in:
parent
8fdc59c37c
commit
f07b0eed61
2 changed files with 1 additions and 7 deletions
|
@ -82,11 +82,6 @@ bittorrent::~bittorrent(){
|
||||||
delete s;
|
delete s;
|
||||||
}
|
}
|
||||||
|
|
||||||
void bittorrent::resumeUnfinishedTorrents(){
|
|
||||||
// Resume unfinished torrents
|
|
||||||
resumeUnfinished();
|
|
||||||
}
|
|
||||||
|
|
||||||
void bittorrent::setDownloadLimit(QString hash, int val){
|
void bittorrent::setDownloadLimit(QString hash, int val){
|
||||||
torrent_handle h = getTorrentHandle(hash);
|
torrent_handle h = getTorrentHandle(hash);
|
||||||
h.set_download_limit(val);
|
h.set_download_limit(val);
|
||||||
|
@ -1155,7 +1150,7 @@ void bittorrent::applyEncryptionSettings(pe_settings se){
|
||||||
|
|
||||||
// Will fast resume unfinished torrents in
|
// Will fast resume unfinished torrents in
|
||||||
// backup directory
|
// backup directory
|
||||||
void bittorrent::resumeUnfinished(){
|
void bittorrent::resumeUnfinishedTorrents(){
|
||||||
qDebug("Resuming unfinished torrents");
|
qDebug("Resuming unfinished torrents");
|
||||||
QDir torrentBackup(misc::qBittorrentPath() + "BT_backup");
|
QDir torrentBackup(misc::qBittorrentPath() + "BT_backup");
|
||||||
QStringList fileNames, filePaths;
|
QStringList fileNames, filePaths;
|
||||||
|
|
|
@ -129,7 +129,6 @@ class bittorrent : public QObject{
|
||||||
void scanDirectory();
|
void scanDirectory();
|
||||||
void readAlerts();
|
void readAlerts();
|
||||||
void processDownloadedFile(QString, QString);
|
void processDownloadedFile(QString, QString);
|
||||||
void resumeUnfinished();
|
|
||||||
bool loadTrackerFile(QString hash);
|
bool loadTrackerFile(QString hash);
|
||||||
void saveTrackerFile(QString hash);
|
void saveTrackerFile(QString hash);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue