Merge pull request #2800 from pmzqla/icons-leftpanel

Set icon size to 16x16 in the left panel
This commit is contained in:
sledgehammer999 2015-03-29 20:35:36 +03:00
commit 74fc92137a

View file

@ -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*)));