Browse Source

Merge pull request #2800 from pmzqla/icons-leftpanel

Set icon size to 16x16 in the left panel
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
74fc92137a
  1. 2
      src/gui/transferlistfilterswidget.cpp

2
src/gui/transferlistfilterswidget.cpp

@ -62,6 +62,8 @@ FiltersBase::FiltersBase(QWidget *parent, TransferListWidget *transferList) @@ -62,6 +62,8 @@ FiltersBase::FiltersBase(QWidget *parent, TransferListWidget *transferList)
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setContextMenuPolicy(Qt::CustomContextMenu);
setIconSize(QSize(16, 16));
connect(this, SIGNAL(customContextMenuRequested(QPoint)), SLOT(showMenu(QPoint)));
connect(this, SIGNAL(currentRowChanged(int)), SLOT(applyFilter(int)));
connect(transferList->getSourceModel(), SIGNAL(torrentAdded(TorrentModelItem*)), SLOT(handleNewTorrent(TorrentModelItem*)));

Loading…
Cancel
Save