Showing the changes to interface/src/PluginContainerProxy.cpp (1 of 4 files). Show all
Unified · Split
| @@ -78,7 +78,7 @@ void PluginContainerProxy::setIsOptionChecked(const QString& path, bool checked) · 77 unmodified lines | ||
| 78 | 78 | // Additionally, setting fullscreen isn't hiding the menu on windows |
| 79 | 79 | // make it useless for stereoscopic modes. |
| 80 | 80 | void PluginContainerProxy::setFullscreen(const QScreen* target, bool hideMenu) { |
| 81 | − auto _window = qApp->_window; | |
| 81 | + auto _window = qApp->getWindow(); | |
| 82 | 82 | if (!_window->isFullScreen()) { |
| 83 | 83 | _savedGeometry = _window->geometry(); |
| 84 | 84 | } |
| @@ -101,7 +101,7 @@ void PluginContainerProxy::setFullscreen(const QScreen* target, bool hideMenu) { · 16 unmodified lines | ||
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | void PluginContainerProxy::unsetFullscreen(const QScreen* avoid) { |
| 104 | − auto _window = qApp->_window; | |
| 104 | + auto _window = qApp->getWindow(); | |
| 105 | 105 | _window->showNormal(); |
| 106 | 106 | |
| 107 | 107 | QRect targetGeometry = _savedGeometry; |