mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-16 20:26:24 +02:00
Don't trigger crashes from timers while waiting for some operation on exit
This commit is contained in:
parent
29106fbbbe
commit
aacfe92751
1 changed files with 1 additions and 1 deletions
|
@ -7488,7 +7488,7 @@ DisplayPluginPointer Application::getActiveDisplayPlugin() const {
|
|||
return _displayPlugin;
|
||||
}
|
||||
|
||||
if (!_displayPlugin) {
|
||||
if (!_aboutToQuit && !_displayPlugin) {
|
||||
const_cast<Application*>(this)->updateDisplayMode();
|
||||
Q_ASSERT(_displayPlugin);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue