From 5486321519b4a5c0da34fada03919148ee44c662 Mon Sep 17 00:00:00 2001 From: Chernov Date: Mon, 7 Sep 2015 17:12:44 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=BE=D0=B2=D0=B5=D1=80=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=83=D0=BA=D0=B0=D0=B7=D0=B0=D1=82=D0=B5=D0=BB=D1=8F?= =?UTF-8?q?=20g=5FpApp=20=D0=B2=20pluginStopAction()=20#38?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/rdo_studio/plugins/game5/src/plugin_game5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/rdo_studio/plugins/game5/src/plugin_game5.cpp b/app/rdo_studio/plugins/game5/src/plugin_game5.cpp index c4ad29016..d24a6a582 100644 --- a/app/rdo_studio/plugins/game5/src/plugin_game5.cpp +++ b/app/rdo_studio/plugins/game5/src/plugin_game5.cpp @@ -167,7 +167,7 @@ void PluginGame5::pluginStopAction(QWidget* pParent) if (pluginGame5ToolBar) delete pluginGame5ToolBar; - if (g_pApp->getMainWndUI()) + if (g_pApp && g_pApp->getMainWndUI()) { rdo::gui::model::Model* pModel = g_pApp->getMainWndUI()->getModel(); if (pModel)