mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 23:52:31 -06:00
Use of system icon theme can now be disabled
This commit is contained in:
@@ -36,6 +36,7 @@
|
||||
#include <QMessageBox>
|
||||
#include <QFile>
|
||||
#include <QUrl>
|
||||
#include "iconprovider.h"
|
||||
#include "misc.h"
|
||||
#include "ui_trackersadditiondlg.h"
|
||||
#include "downloadthread.h"
|
||||
@@ -51,7 +52,7 @@ public:
|
||||
TrackersAdditionDlg(QTorrentHandle h, QWidget *parent=0): QDialog(parent), h(h) {
|
||||
setupUi(this);
|
||||
// Icons
|
||||
uTorrentListButton->setIcon(misc::getIcon("download"));
|
||||
uTorrentListButton->setIcon(IconProvider::instance()->getIcon("download"));
|
||||
// As a default, use torrentz.com link
|
||||
list_url->setText("http://www.torrentz.com/announce_"+h.hash());
|
||||
list_url->setCursorPosition(0);
|
||||
|
||||
Reference in New Issue
Block a user