mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
Fixed visibility issue of list tabs button in fullscreen
This commit is contained in:
parent
5ce67d498a
commit
e0d4f35149
@ -983,6 +983,7 @@ void QupZilla::showNavigationWithFullscreen()
|
|||||||
m_tabWidget->getTabBar()->setVisible(state);
|
m_tabWidget->getTabBar()->setVisible(state);
|
||||||
if (m_bookmarksToolBarVisible)
|
if (m_bookmarksToolBarVisible)
|
||||||
m_bookmarksToolbar->setVisible(state);
|
m_bookmarksToolbar->setVisible(state);
|
||||||
|
m_tabWidget->buttonListTabs()->setVisible(state);
|
||||||
}
|
}
|
||||||
|
|
||||||
void QupZilla::fullScreen(bool make)
|
void QupZilla::fullScreen(bool make)
|
||||||
|
@ -156,7 +156,6 @@ void TabWidget::resizeEvent(QResizeEvent *e)
|
|||||||
posit.setY(0);
|
posit.setY(0);
|
||||||
posit.setX(width() - m_buttonListTabs->width());
|
posit.setX(width() - m_buttonListTabs->width());
|
||||||
m_buttonListTabs->move(posit);
|
m_buttonListTabs->move(posit);
|
||||||
|
|
||||||
m_buttonListTabs->setVisible(getTabBar()->isVisible());
|
m_buttonListTabs->setVisible(getTabBar()->isVisible());
|
||||||
|
|
||||||
QTabWidget::resizeEvent(e);
|
QTabWidget::resizeEvent(e);
|
||||||
|
@ -57,6 +57,7 @@ public:
|
|||||||
bool canRestoreTab();
|
bool canRestoreTab();
|
||||||
QList<WebTab*> allTabs(bool withPinned = true);
|
QList<WebTab*> allTabs(bool withPinned = true);
|
||||||
QStackedWidget* locationBars() { return m_locationBars; }
|
QStackedWidget* locationBars() { return m_locationBars; }
|
||||||
|
ToolButton* buttonListTabs() { return m_buttonListTabs; }
|
||||||
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
Loading…
Reference in New Issue
Block a user