mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fix build warning
This commit is contained in:
parent
5812721e48
commit
08274f5bbe
@ -1055,9 +1055,7 @@ void BrowserWindow::hideNavigationSlot()
|
||||
bool BrowserWindow::event(QEvent* event)
|
||||
{
|
||||
switch (event->type()) {
|
||||
case QEvent::WindowStateChange: {
|
||||
QWindowStateChangeEvent* ev = static_cast<QWindowStateChangeEvent*>(event);
|
||||
|
||||
case QEvent::WindowStateChange:
|
||||
if (!(m_oldWindowState & Qt::WindowFullScreen) && windowState() & Qt::WindowFullScreen) {
|
||||
// Enter fullscreen
|
||||
m_normalWindowState = m_oldWindowState;
|
||||
@ -1091,7 +1089,6 @@ bool BrowserWindow::event(QEvent* event)
|
||||
|
||||
m_oldWindowState = windowState();
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user