1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

Remove focus from widgets on left panel

This commit is contained in:
Christophe Dumez 2012-05-17 16:49:14 +03:00
parent 30d5273bb5
commit 7a29f3d71d

View File

@ -193,8 +193,10 @@ public:
vLayout->setContentsMargins(0, 4, 0, 4);
statusFilters = new StatusFiltersWidget(this);
vLayout->addWidget(statusFilters);
statusFilters->setFocusPolicy(Qt::NoFocus);
labelFilters = new LabelFiltersList(this);
vLayout->addWidget(labelFilters);
labelFilters->setFocusPolicy(Qt::NoFocus);
setLayout(vLayout);
labelFilters->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
statusFilters->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);