mirror of
https://github.com/martinrotter/rssguard.git
synced 2025-01-10 23:23:52 +01:00
Really hide corner buttons.
This commit is contained in:
parent
604f91c70a
commit
593c094c3c
@ -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…
Reference in New Issue
Block a user