mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Manage properly fullscreen in OutputGLWindow: it was possible to have the window without the fullscreen, which caused issues in some circumstances.
This commit is contained in:
+1
-1
@@ -1630,7 +1630,7 @@ void MainWindow::createActions()
|
||||
// Manage fullscreen/modal show of GL output window.
|
||||
connect(outputFullScreenAction, SIGNAL(toggled(bool)), outputWindow, SLOT(setFullScreen(bool)));
|
||||
// When closing the GL output window or hit ESC key, uncheck the action in menu.
|
||||
connect(outputWindow, SIGNAL(closed()), outputFullScreenAction, SLOT(toggle()));
|
||||
// connect(outputWindow, SIGNAL(closed()), outputFullScreenAction, SLOT(toggle()));
|
||||
connect(QApplication::desktop(), SIGNAL(screenCountChanged(int)), this, SLOT(updateOutputAction(int)));
|
||||
// Create hiden action for closing output window
|
||||
QAction *closeOutput = new QAction(tr("Close output"), this);
|
||||
|
||||
Reference in New Issue
Block a user