|
|
|
@ -143,6 +143,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
@@ -143,6 +143,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
|
|
|
|
|
connect(BTSession,SIGNAL(allTorrentsFinishedChecking()), this, SLOT(sortProgressColumnDelayed())); |
|
|
|
|
connect(BTSession, SIGNAL(trackerAuthenticationRequired(torrent_handle&)), this, SLOT(trackerAuthenticationRequired(torrent_handle&))); |
|
|
|
|
connect(BTSession, SIGNAL(peerBlocked(QString)), this, SLOT(addLogPeerBlocked(const QString))); |
|
|
|
|
connect(BTSession, SIGNAL(fastResumeDataRejected(QString)), this, SLOT(addFastResumeRejectedAlert(QString))); |
|
|
|
|
connect(BTSession, SIGNAL(scanDirFoundTorrents(const QStringList&)), this, SLOT(processScannedFiles(const QStringList&))); |
|
|
|
|
connect(BTSession, SIGNAL(newDownloadedTorrent(QString, QString)), this, SLOT(processDownloadedFiles(QString, QString))); |
|
|
|
|
connect(BTSession, SIGNAL(downloadFromUrlFailure(QString, QString)), this, SLOT(handleDownloadFromUrlFailure(QString, QString))); |
|
|
|
@ -323,6 +324,10 @@ void GUI::setInfoBar(QString info, QString color){
@@ -323,6 +324,10 @@ void GUI::setInfoBar(QString info, QString color){
|
|
|
|
|
infoBar->append("<font color='grey'>"+ QTime::currentTime().toString("hh:mm:ss") + "</font> - <font color='" + color +"'><i>" + info + "</i></font>"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void GUI::addFastResumeRejectedAlert(QString name){ |
|
|
|
|
setInfoBar(tr("Fast resume data was rejected for torrent %1").arg(name)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void GUI::balloonClicked(){ |
|
|
|
|
if(isHidden()){ |
|
|
|
|
show(); |
|
|
|
|