Really hide corner buttons.
This commit is contained in:
parent
604f91c70a
commit
593c094c3c
1 changed files with 2 additions and 2 deletions
|
@ -87,8 +87,8 @@ void TabWidget::openMainMenu() {
|
||||||
|
|
||||||
void TabWidget::checkTabBarVisibility() {
|
void TabWidget::checkTabBarVisibility() {
|
||||||
bool should_be_visible = count() > 1 || !Settings::instance()->value(APP_CFG_GUI,
|
bool should_be_visible = count() > 1 || !Settings::instance()->value(APP_CFG_GUI,
|
||||||
"hide_tabbar_one_tab",
|
"hide_tabbar_one_tab",
|
||||||
true).toBool();
|
true).toBool();
|
||||||
|
|
||||||
if (should_be_visible) {
|
if (should_be_visible) {
|
||||||
setCornerWidget(m_btnMainMenu, Qt::TopLeftCorner);
|
setCornerWidget(m_btnMainMenu, Qt::TopLeftCorner);
|
||||||
|
|
Loading…
Add table
Reference in a new issue