mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
VerticalTabs: Set Qt::NoFocus policy
Fixes some styles painting unwanted focus indicator.
This commit is contained in:
parent
8c96660852
commit
f3d5f27cdf
@ -35,6 +35,7 @@ TabListView::TabListView(QWidget *parent)
|
||||
setDropIndicatorShown(true);
|
||||
setMouseTracking(true);
|
||||
setFlow(QListView::LeftToRight);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setFrameShape(QFrame::NoFrame);
|
||||
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
|
||||
setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
|
@ -37,6 +37,7 @@ TabTreeView::TabTreeView(QWidget *parent)
|
||||
setDropIndicatorShown(true);
|
||||
setAllColumnsShowFocus(true);
|
||||
setMouseTracking(true);
|
||||
setFocusPolicy(Qt::NoFocus);
|
||||
setFrameShape(QFrame::NoFrame);
|
||||
setVerticalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
setIndentation(0);
|
||||
|
Loading…
Reference in New Issue
Block a user