possible fullscreen fix
This commit is contained in:
parent
4ab61017db
commit
65b7556523
|
@ -52,6 +52,9 @@ void MainWindow::fullScreenRequested(
|
|||
fullScreenRequest.accept();
|
||||
if (fullScreenRequest.toggleOn()) {
|
||||
m_wasMaximized = isMaximized();
|
||||
if (!m_wasMaximized) {
|
||||
showNormal();
|
||||
}
|
||||
showFullScreen();
|
||||
} else {
|
||||
m_wasMaximized ? showMaximized() : showNormal();
|
||||
|
|
Loading…
Reference in New Issue