From 28980a04d124b578f438de79c7cdf9f397950674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaakko=20Ker=C3=A4nen?= Date: Fri, 22 Nov 2013 17:50:24 +0200 Subject: [PATCH] Fixed|ClientApp: Subsystem deletion order When the appearance editor is open, the window system is dependent on the settings in the render subsystem (ClientWindow owns the sidebar widget). Todo: Observers should support automatically leaving destroyed audiences. --- doomsday/client/src/clientapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doomsday/client/src/clientapp.cpp b/doomsday/client/src/clientapp.cpp index a76af64258..8363d96ec1 100644 --- a/doomsday/client/src/clientapp.cpp +++ b/doomsday/client/src/clientapp.cpp @@ -126,8 +126,8 @@ DENG2_PIMPL(ClientApp) QMenuBar *menuBar; InputSystem *inputSys; QScopedPointer widgetActions; - WindowSystem *winSys; RenderSystem *renderSys; + WindowSystem *winSys; ServerLink *svLink; GLShaderBank shaderBank; Games games; @@ -150,8 +150,8 @@ DENG2_PIMPL(ClientApp) DD_Shutdown(); delete svLink; - delete renderSys; delete winSys; + delete renderSys; delete inputSys; delete menuBar; clientAppSingleton = 0;