Clean up PreviewSelectDialog class

This commit is contained in:
Chocobo1
2019-10-02 19:19:33 +08:00
parent a9e6ef183b
commit 0607050ecc
5 changed files with 11 additions and 12 deletions

View File

@@ -2187,7 +2187,7 @@ void TorrentHandle::setSuperSeeding(const bool enable)
#endif
}
void TorrentHandle::flushCache()
void TorrentHandle::flushCache() const
{
m_nativeHandle.flush_cache();
}

View File

@@ -324,7 +324,7 @@ namespace BitTorrent
void setUploadLimit(int limit);
void setDownloadLimit(int limit);
void setSuperSeeding(bool enable);
void flushCache();
void flushCache() const;
void addTrackers(const QVector<TrackerEntry> &trackers);
void replaceTrackers(const QVector<TrackerEntry> &trackers);
void addUrlSeeds(const QVector<QUrl> &urlSeeds);