1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

Fixed visibility issue of list tabs button in fullscreen

This commit is contained in:
nowrep 2011-09-19 21:47:15 +02:00
parent 5ce67d498a
commit e0d4f35149
3 changed files with 2 additions and 1 deletions

View File

@ -983,6 +983,7 @@ void QupZilla::showNavigationWithFullscreen()
m_tabWidget->getTabBar()->setVisible(state);
if (m_bookmarksToolBarVisible)
m_bookmarksToolbar->setVisible(state);
m_tabWidget->buttonListTabs()->setVisible(state);
}
void QupZilla::fullScreen(bool make)

View File

@ -156,7 +156,6 @@ void TabWidget::resizeEvent(QResizeEvent *e)
posit.setY(0);
posit.setX(width() - m_buttonListTabs->width());
m_buttonListTabs->move(posit);
m_buttonListTabs->setVisible(getTabBar()->isVisible());
QTabWidget::resizeEvent(e);

View File

@ -57,6 +57,7 @@ public:
bool canRestoreTab();
QList<WebTab*> allTabs(bool withPinned = true);
QStackedWidget* locationBars() { return m_locationBars; }
ToolButton* buttonListTabs() { return m_buttonListTabs; }
public slots: