mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-24 12:46:35 +01:00
ComboTabBar: Disable focusing scroll buttons
This commit is contained in:
parent
0203cab204
commit
67c6834a5f
@ -1366,6 +1366,7 @@ TabBarScrollWidget::TabBarScrollWidget(QTabBar* tabBar, QWidget* parent)
|
||||
m_scrollArea->setWidget(m_tabBar);
|
||||
|
||||
m_leftScrollButton = new ToolButton(this);
|
||||
m_leftScrollButton->setFocusPolicy(Qt::NoFocus);
|
||||
m_leftScrollButton->setAutoRaise(true);
|
||||
m_leftScrollButton->setObjectName("tabbar-button-left");
|
||||
m_leftScrollButton->setAutoRepeat(true);
|
||||
@ -1376,6 +1377,7 @@ TabBarScrollWidget::TabBarScrollWidget(QTabBar* tabBar, QWidget* parent)
|
||||
connect(m_leftScrollButton, SIGNAL(middleMouseClicked()), this, SLOT(ensureVisible()));
|
||||
|
||||
m_rightScrollButton = new ToolButton(this);
|
||||
m_rightScrollButton->setFocusPolicy(Qt::NoFocus);
|
||||
m_rightScrollButton->setAutoRaise(true);
|
||||
m_rightScrollButton->setObjectName("tabbar-button-right");
|
||||
m_rightScrollButton->setAutoRepeat(true);
|
||||
|
Loading…
Reference in New Issue
Block a user