Browse Source

Compilation fix with Qt 4.4

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
12fff1b966
  1. 3
      src/bittorrent.cpp
  2. 1
      src/main.cpp

3
src/bittorrent.cpp

@ -2274,10 +2274,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) { @@ -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));

1
src/main.cpp

@ -36,6 +36,7 @@ @@ -36,6 +36,7 @@
#include <QApplication>
#include <QMessageBox>
#include <QStyleFactory>
#include <QStyle>
#include <QSplashScreen>
#include <QPushButton>
#include "GUI.h"

Loading…
Cancel
Save