mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-24 02:06:07 +03:00
- Updated Transfer tab icon
- Fix display of priority for seeding torrents
This commit is contained in:
parent
23d1aa7691
commit
c818c2dae6
4 changed files with 7 additions and 2 deletions
|
@ -138,7 +138,7 @@ GUI::GUI(QWidget *parent, QStringList torrentCmdLine) : QMainWindow(parent), dis
|
|||
// Transfer List tab
|
||||
transferList = new TransferListWidget(tabs, BTSession);
|
||||
int index_tab = tabs->addTab(transferList, tr("Transfers"));
|
||||
tabs->setTabIcon(index_tab, QIcon(QString::fromUtf8(":/Icons/skin/downloading.png")));
|
||||
tabs->setTabIcon(index_tab, QIcon(QString::fromUtf8(":/Icons/oxygen/folder-remote.png")));
|
||||
vboxLayout->addWidget(tabs);
|
||||
|
||||
// Transfer list slots
|
||||
|
|
BIN
src/Icons/oxygen/folder-remote.png
Normal file
BIN
src/Icons/oxygen/folder-remote.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.3 KiB |
|
@ -88,8 +88,12 @@ public:
|
|||
}
|
||||
case PRIORITY: {
|
||||
int priority = index.data().toInt();
|
||||
if(priority >= 0)
|
||||
if(priority >= 0) {
|
||||
QItemDelegate::paint(painter, option, index);
|
||||
} else {
|
||||
QItemDelegate::drawBackground(painter, opt, index);
|
||||
QItemDelegate::drawDisplay(painter, opt, opt.rect, "*");
|
||||
}
|
||||
break;
|
||||
}
|
||||
case PROGRESS:{
|
||||
|
|
|
@ -74,6 +74,7 @@
|
|||
<file>Icons/oxygen/time.png</file>
|
||||
<file>Icons/oxygen/edit-find.png</file>
|
||||
<file>Icons/oxygen/folder-new.png</file>
|
||||
<file>Icons/oxygen/folder-remote.png</file>
|
||||
<file>Icons/oxygen/edit-paste.png</file>
|
||||
<file>Icons/oxygen/proxy.png</file>
|
||||
<file>Icons/oxygen/log.png</file>
|
||||
|
|
Loading…
Reference in a new issue