|
|
@ -76,7 +76,7 @@ DownloadingTorrents::DownloadingTorrents(QObject *parent, bittorrent *BTSession) |
|
|
|
connect(BTSession, SIGNAL(aboutToDownloadFromUrl(QString)), this, SLOT(displayDownloadingUrlInfos(QString))); |
|
|
|
connect(BTSession, SIGNAL(aboutToDownloadFromUrl(QString)), this, SLOT(displayDownloadingUrlInfos(QString))); |
|
|
|
connect(BTSession, SIGNAL(urlSeedProblem(QString, QString)), this, SLOT(addUrlSeedError(QString, QString))); |
|
|
|
connect(BTSession, SIGNAL(urlSeedProblem(QString, QString)), this, SLOT(addUrlSeedError(QString, QString))); |
|
|
|
connect(BTSession, SIGNAL(UPnPError(QString)), this, SLOT(displayUPnPError(QString))); |
|
|
|
connect(BTSession, SIGNAL(UPnPError(QString)), this, SLOT(displayUPnPError(QString))); |
|
|
|
connect(BTSession, SIGNAL(UPnPSucess(QString)), this, SLOT(displayUPnPSucess(QString))); |
|
|
|
connect(BTSession, SIGNAL(UPnPSuccess(QString)), this, SLOT(displayUPnPSuccess(QString))); |
|
|
|
|
|
|
|
|
|
|
|
// Load last columns width for download list
|
|
|
|
// Load last columns width for download list
|
|
|
|
if(!loadColWidthDLList()) { |
|
|
|
if(!loadColWidthDLList()) { |
|
|
@ -206,8 +206,8 @@ void DownloadingTorrents::displayUPnPError(QString msg) { |
|
|
|
setInfoBar(tr("UPnP/NAT-PMP: Port mapping failure, message: %1").arg(msg), QColor("red")); |
|
|
|
setInfoBar(tr("UPnP/NAT-PMP: Port mapping failure, message: %1").arg(msg), QColor("red")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void DownloadingTorrents::displayUPnPSucess() { |
|
|
|
void DownloadingTorrents::displayUPnPSuccess(QString msg) { |
|
|
|
DownloadingTorrents::setInfoBar(tr("UPnP/NAT-PMP: Port mapping successful"), QColor("blue")); |
|
|
|
DownloadingTorrents::setInfoBar(tr("UPnP/NAT-PMP: Port mapping successful, message: %1").arg(msg), QColor("blue")); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Update Info Bar information
|
|
|
|
// Update Info Bar information
|
|
|
|