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:
parent
d1a15906b5
commit
c0809dc0b3
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user