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