mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-13 08:43:08 -07:00
-FEATURE: Url seeds are now displayed in torrent properties and are editable
- Broke compatibility with Qt4.2. Will fix this a bit later (in the meantime, edit properties.ui)
This commit is contained in:
parent
676f30d9a1
commit
9cbab8d63e
9 changed files with 490 additions and 81 deletions
|
@ -147,6 +147,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent){
|
|||
connect(BTSession, SIGNAL(newDownloadedTorrent(QString, QString)), this, SLOT(processDownloadedFiles(QString, QString)));
|
||||
connect(BTSession, SIGNAL(downloadFromUrlFailure(QString, QString)), this, SLOT(handleDownloadFromUrlFailure(QString, QString)));
|
||||
connect(BTSession, SIGNAL(aboutToDownloadFromUrl(QString)), this, SLOT(displayDownloadingUrlInfos(QString)));
|
||||
connect(BTSession, SIGNAL(urlSeedProblem(QString, QString)), this, SLOT(addUrlSeedError(QString, QString)));
|
||||
// creating options
|
||||
options = new options_imp(this);
|
||||
connect(options, SIGNAL(status_changed(QString, bool)), this, SLOT(OptionsSaved(QString, bool)));
|
||||
|
@ -324,7 +325,11 @@ void GUI::setInfoBar(QString info, QString color){
|
|||
}
|
||||
|
||||
void GUI::addFastResumeRejectedAlert(QString name){
|
||||
setInfoBar(tr("Fast resume data was rejected for torrent %1, checking again...").arg(name));
|
||||
setInfoBar(tr("Fast resume data was rejected for torrent %1, checking again...").arg(name), "red");
|
||||
}
|
||||
|
||||
void GUI::addUrlSeedError(QString url, QString msg){
|
||||
setInfoBar(tr("Url seed lookup failed for url: %1, message: %2").arg(url).arg(msg), "red");
|
||||
}
|
||||
|
||||
void GUI::balloonClicked(){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue