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:
parent
7e8b2a103b
commit
47ee7bfbca
@ -112,6 +112,7 @@ TabWidget::TabWidget(BrowserWindow* window, QWidget* parent)
|
|||||||
|
|
||||||
// AddTab button displayed next to last tab
|
// AddTab button displayed next to last tab
|
||||||
m_buttonAddTab = new AddTabButton(this, m_tabBar);
|
m_buttonAddTab = new AddTabButton(this, m_tabBar);
|
||||||
|
m_buttonAddTab->setProperty("outside-tabbar", false);
|
||||||
connect(m_buttonAddTab, SIGNAL(clicked()), m_window, SLOT(addTab()));
|
connect(m_buttonAddTab, SIGNAL(clicked()), m_window, SLOT(addTab()));
|
||||||
|
|
||||||
// AddTab button displayed outside tabbar (as corner widget)
|
// AddTab button displayed outside tabbar (as corner widget)
|
||||||
|
Loading…
Reference in New Issue
Block a user