mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-18 03:36:22 +02:00
Bringin back full screen for stereo mode
This commit is contained in:
parent
f00e3829f1
commit
8ab96fe907
1 changed files with 2 additions and 2 deletions
|
@ -73,14 +73,14 @@ void StereoDisplayPlugin::activate() {
|
|||
[this](bool clicked) { updateScreen(); }, true, checked, "Screens");
|
||||
_screenActions[i] = action;
|
||||
}
|
||||
// CONTAINER->setFullscreen(qApp->primaryScreen());
|
||||
CONTAINER->setFullscreen(qApp->primaryScreen());
|
||||
WindowOpenGLDisplayPlugin::activate();
|
||||
}
|
||||
|
||||
void StereoDisplayPlugin::updateScreen() {
|
||||
for (uint32_t i = 0; i < _screenActions.size(); ++i) {
|
||||
if (_screenActions[i]->isChecked()) {
|
||||
// CONTAINER->setFullscreen(qApp->screens().at(i));
|
||||
CONTAINER->setFullscreen(qApp->screens().at(i));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue