1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

TabWidget: Set outside-tabbar property to both add tab buttons

It is now possible to exclusively distinguish both buttons.
This commit is contained in:
David Rosca 2018-01-07 17:17:36 +01:00
parent 7e8b2a103b
commit 47ee7bfbca

View File

@ -112,6 +112,7 @@ TabWidget::TabWidget(BrowserWindow* window, QWidget* parent)
// AddTab button displayed next to last tab
m_buttonAddTab = new AddTabButton(this, m_tabBar);
m_buttonAddTab->setProperty("outside-tabbar", false);
connect(m_buttonAddTab, SIGNAL(clicked()), m_window, SLOT(addTab()));
// AddTab button displayed outside tabbar (as corner widget)