mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 14:59:14 +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");
|
[this](bool clicked) { updateScreen(); }, true, checked, "Screens");
|
||||||
_screenActions[i] = action;
|
_screenActions[i] = action;
|
||||||
}
|
}
|
||||||
// CONTAINER->setFullscreen(qApp->primaryScreen());
|
CONTAINER->setFullscreen(qApp->primaryScreen());
|
||||||
WindowOpenGLDisplayPlugin::activate();
|
WindowOpenGLDisplayPlugin::activate();
|
||||||
}
|
}
|
||||||
|
|
||||||
void StereoDisplayPlugin::updateScreen() {
|
void StereoDisplayPlugin::updateScreen() {
|
||||||
for (uint32_t i = 0; i < _screenActions.size(); ++i) {
|
for (uint32_t i = 0; i < _screenActions.size(); ++i) {
|
||||||
if (_screenActions[i]->isChecked()) {
|
if (_screenActions[i]->isChecked()) {
|
||||||
// CONTAINER->setFullscreen(qApp->screens().at(i));
|
CONTAINER->setFullscreen(qApp->screens().at(i));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue