mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 15:07:22 -06:00
Qt 4.4 compilation fix
This commit is contained in:
@@ -2274,10 +2274,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
||||
torrent_queue.push(qMakePair(prio, hash));
|
||||
}
|
||||
// Resume downloads
|
||||
int prio = -1;
|
||||
while(!torrent_queue.empty()) {
|
||||
int new_prio = torrent_queue.top().first;
|
||||
Q_ASSERT(new_prio >= prio);
|
||||
const QString &hash = torrent_queue.top().second;
|
||||
torrent_queue.pop();
|
||||
qDebug("Starting up torrent %s", qPrintable(hash));
|
||||
|
||||
Reference in New Issue
Block a user