mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-19 23:17:21 -06:00
Qt 4.4 compilation fix
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.2.1
|
||||||
|
- FEATURE: Fix compilation with Qt 4.4
|
||||||
|
|
||||||
* Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0
|
* Sun Mar 14 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.2.0
|
||||||
- FEATURE: User can set alternative speed limits for fast toggling
|
- FEATURE: User can set alternative speed limits for fast toggling
|
||||||
- FEATURE: Bandwidth scheduler (automatically use alternative speed limits for a given period)
|
- FEATURE: Bandwidth scheduler (automatically use alternative speed limits for a given period)
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user