From 593c094c3cba96f19e584b91c02355b986564ce0 Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Wed, 19 Mar 2014 17:57:21 +0100 Subject: [PATCH] Really hide corner buttons. --- src/gui/tabwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/tabwidget.cpp b/src/gui/tabwidget.cpp index dff3dcc7b..1637fbec4 100644 --- a/src/gui/tabwidget.cpp +++ b/src/gui/tabwidget.cpp @@ -87,8 +87,8 @@ void TabWidget::openMainMenu() { void TabWidget::checkTabBarVisibility() { bool should_be_visible = count() > 1 || !Settings::instance()->value(APP_CFG_GUI, - "hide_tabbar_one_tab", - true).toBool(); + "hide_tabbar_one_tab", + true).toBool(); if (should_be_visible) { setCornerWidget(m_btnMainMenu, Qt::TopLeftCorner);