From: ana Date: Wed, 11 Dec 2013 05:55:54 +0000 (+0000) Subject: WIN32/WIN64: Temporary solution to avoid crash during activating PARAVIS module. X-Git-Tag: V7_3_0~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=cf6002a6f1854adda32532cf41d2821017fa5bb1;p=modules%2Fparavis.git WIN32/WIN64: Temporary solution to avoid crash during activating PARAVIS module. --- diff --git a/src/PVGUI/PVGUI_Module_widgets.cxx b/src/PVGUI/PVGUI_Module_widgets.cxx index e6b858e9..b15c923c 100644 --- a/src/PVGUI/PVGUI_Module_widgets.cxx +++ b/src/PVGUI/PVGUI_Module_widgets.cxx @@ -240,9 +240,11 @@ void PVGUI_Module::setupDockWidgets() // Memory inspector dock QDockWidget* memoryInspectorDock = new QDockWidget(tr( "TTL_MEMORY_INSPECTOR" ), desk); memoryInspectorDock->setObjectName("memoryInspectorDock"); +#ifndef WIN32 pqMemoryInspectorPanel* dockWidgetContents = new pqMemoryInspectorPanel(); dockWidgetContents->setObjectName("dockWidgetContents"); memoryInspectorDock->setWidget(dockWidgetContents); +#endif desk->addDockWidget(Qt::RightDockWidgetArea, memoryInspectorDock); myDockWidgets[memoryInspectorDock] = false; // hidden by default