mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
Fixed some small issues when re-loading settings.
This commit is contained in:
parent
1fd1691ee2
commit
68cdba9e3a
|
@ -817,10 +817,10 @@ void QupZilla::loadSettings()
|
|||
|
||||
m_adblockIcon->setEnabled(settings.value("AdBlock/enabled", true).toBool());
|
||||
|
||||
statusBar()->setVisible(showStatusBar);
|
||||
statusBar()->setVisible(!isFullScreen() && showStatusBar);
|
||||
m_bookmarksToolbar->setVisible(showBookmarksToolbar);
|
||||
m_navigationBar->setVisible(showNavigationToolbar);
|
||||
menuBar()->setVisible(showMenuBar);
|
||||
menuBar()->setVisible(!isFullScreen() && showMenuBar);
|
||||
|
||||
#ifndef Q_OS_MAC
|
||||
m_navigationBar->setSuperMenuVisible(!showMenuBar);
|
||||
|
|
|
@ -93,6 +93,7 @@ void TabBar::loadSettings()
|
|||
settings.endGroup();
|
||||
|
||||
setSelectionBehaviorOnRemove(activateLastTab ? QTabBar::SelectPreviousTab : QTabBar::SelectRightTab);
|
||||
setVisible(!(count() == 1 && m_hideTabBarWithOneTab));
|
||||
|
||||
setUpLayout();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user