mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +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());
|
m_adblockIcon->setEnabled(settings.value("AdBlock/enabled", true).toBool());
|
||||||
|
|
||||||
statusBar()->setVisible(showStatusBar);
|
statusBar()->setVisible(!isFullScreen() && showStatusBar);
|
||||||
m_bookmarksToolbar->setVisible(showBookmarksToolbar);
|
m_bookmarksToolbar->setVisible(showBookmarksToolbar);
|
||||||
m_navigationBar->setVisible(showNavigationToolbar);
|
m_navigationBar->setVisible(showNavigationToolbar);
|
||||||
menuBar()->setVisible(showMenuBar);
|
menuBar()->setVisible(!isFullScreen() && showMenuBar);
|
||||||
|
|
||||||
#ifndef Q_OS_MAC
|
#ifndef Q_OS_MAC
|
||||||
m_navigationBar->setSuperMenuVisible(!showMenuBar);
|
m_navigationBar->setSuperMenuVisible(!showMenuBar);
|
||||||
|
@ -93,6 +93,7 @@ void TabBar::loadSettings()
|
|||||||
settings.endGroup();
|
settings.endGroup();
|
||||||
|
|
||||||
setSelectionBehaviorOnRemove(activateLastTab ? QTabBar::SelectPreviousTab : QTabBar::SelectRightTab);
|
setSelectionBehaviorOnRemove(activateLastTab ? QTabBar::SelectPreviousTab : QTabBar::SelectRightTab);
|
||||||
|
setVisible(!(count() == 1 && m_hideTabBarWithOneTab));
|
||||||
|
|
||||||
setUpLayout();
|
setUpLayout();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user