mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Fix compiling error
This commit is contained in:
@@ -664,7 +664,7 @@ void QTorrentHandle::move_storage(QString new_path) const {
|
||||
}
|
||||
|
||||
void QTorrentHandle::file_priority(int index, int priority) const {
|
||||
Q_ASSERT(torrent_handle::is_valid());
|
||||
Q_ASSERT(h.is_valid());
|
||||
bool was_seed = is_seed();
|
||||
h.file_priority(index, priority);
|
||||
if(was_seed && !is_seed()) {
|
||||
|
||||
Reference in New Issue
Block a user