1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

ComboTabBar: Disable focus for scroll area

This commit is contained in:
David Rosca 2016-12-26 15:18:34 +01:00
parent 9f20772238
commit 2349ca8912

View File

@ -1328,6 +1328,7 @@ TabBarScrollWidget::TabBarScrollWidget(QTabBar* tabBar, QWidget* parent)
, m_totalDeltas(0)
{
m_scrollArea = new QScrollArea(this);
m_scrollArea->setFocusPolicy(Qt::NoFocus);
m_scrollArea->setFrameStyle(QFrame::NoFrame);
m_scrollArea->setWidgetResizable(true);
m_scrollArea->setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);