From 47ee7bfbca70623f441c0e7c2ffeca1844a7b631 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Sun, 7 Jan 2018 17:17:36 +0100 Subject: [PATCH] TabWidget: Set outside-tabbar property to both add tab buttons It is now possible to exclusively distinguish both buttons. --- src/lib/tabwidget/tabwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/tabwidget/tabwidget.cpp b/src/lib/tabwidget/tabwidget.cpp index 30be26b1d..1b9dc34a8 100644 --- a/src/lib/tabwidget/tabwidget.cpp +++ b/src/lib/tabwidget/tabwidget.cpp @@ -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)