mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07: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:
parent
7b8722df34
commit
31abae33a1
7 changed files with 38 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue