mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
Compilation fix with Qt 4.4
This commit is contained in:
parent
128eba7ec3
commit
12fff1b966
2 changed files with 1 additions and 3 deletions
|
@ -2274,10 +2274,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
|
||||||
torrent_queue.push(qMakePair(prio, hash));
|
torrent_queue.push(qMakePair(prio, hash));
|
||||||
}
|
}
|
||||||
// Resume downloads
|
// Resume downloads
|
||||||
int prio = -1;
|
|
||||||
while(!torrent_queue.empty()) {
|
while(!torrent_queue.empty()) {
|
||||||
int new_prio = torrent_queue.top().first;
|
|
||||||
Q_ASSERT(new_prio >= prio);
|
|
||||||
const QString &hash = torrent_queue.top().second;
|
const QString &hash = torrent_queue.top().second;
|
||||||
torrent_queue.pop();
|
torrent_queue.pop();
|
||||||
qDebug("Starting up torrent %s", qPrintable(hash));
|
qDebug("Starting up torrent %s", qPrintable(hash));
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QStyleFactory>
|
#include <QStyleFactory>
|
||||||
|
#include <QStyle>
|
||||||
#include <QSplashScreen>
|
#include <QSplashScreen>
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include "GUI.h"
|
#include "GUI.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue