1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Fix exiting HTML fullscreen with F11

This commit is contained in:
David Rosca 2015-11-06 17:55:57 +01:00
parent d1a15906b5
commit c0809dc0b3

View File

@ -775,12 +775,15 @@ void BrowserWindow::toggleTabsOnTop(bool enable)
void BrowserWindow::toggleFullScreen()
{
if (isFullScreen()) {
if (m_isHtmlFullScreen) {
weView()->triggerPageAction(QWebEnginePage::ExitFullScreen);
return;
}
if (isFullScreen())
showNormal();
}
else {
else
showFullScreen();
}
}
void BrowserWindow::enterHtmlFullScreen()