Really hide corner buttons.

This commit is contained in:
Martin Rotter 2014-03-19 17:57:21 +01:00
parent 604f91c70a
commit 593c094c3c

View File

@ -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);