Don't touch torrents whose files are missing (like when their drive isn't plugged in).

Closes #342 #2308 2469.
This commit is contained in:
sledgehammer999
2015-01-08 21:19:46 +02:00
parent 95c75bb8c8
commit 45b2432513
4 changed files with 33 additions and 11 deletions

View File

@@ -152,6 +152,7 @@ public:
void savePriority(const QString &hash, const int &queue_pos);
void saveSeedStatus(const QTorrentHandle &h);
void saveSeedStatus(const QString &hash, const bool seedStatus);
void setHasMissingFiles(const QString &hash, bool missing);
// Getters
QString getSavePath(const QString &hash) const;
@@ -161,7 +162,7 @@ public:
bool isSeed(const QString &hash) const;
bool isMagnet(const QString &hash) const;
QString getMagnetUri(const QString &hash) const;
bool getHasMissingFiles(const QString& hash);
public slots:
void save();