- 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:
Christophe Dumez 2007-08-11 14:47:52 +00:00
parent 7b8722df34
commit 31abae33a1
7 changed files with 38 additions and 4 deletions

View file

@ -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();
}