mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Improved the way menu icons are installed to avoid problems on some systems (Thanks JanCR for reporting this)
- Fixed version in desktop file
This commit is contained in:
@@ -469,6 +469,14 @@ bool bittorrent::hasFilteredFiles(QString fileHash) const{
|
||||
return false;
|
||||
}
|
||||
|
||||
void bittorrent::printPausedTorrents(){
|
||||
QString hash;
|
||||
qDebug("Paused Torrents:");
|
||||
foreach(hash, pausedTorrents){
|
||||
qDebug("%s ", (const char*)hash.toUtf8());
|
||||
}
|
||||
}
|
||||
|
||||
// get the size of the torrent without the filtered files
|
||||
size_type bittorrent::torrentEffectiveSize(QString hash) const{
|
||||
torrent_handle h = getTorrentHandle(hash);
|
||||
@@ -687,6 +695,7 @@ void bittorrent::saveFastResumeAndRatioData(){
|
||||
QString fileHash = QString(misc::toString(h.info_hash()).c_str());
|
||||
while(!receivedPausedAlert(fileHash)){
|
||||
qDebug("Sleeping while waiting that %s is paused", misc::toString(h.info_hash()).c_str());
|
||||
printPausedTorrents();
|
||||
SleeperThread::msleep(500);
|
||||
readAlerts();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user