From: vsv Date: Fri, 18 Sep 2015 08:22:57 +0000 (+0300) Subject: Fix of uninitialized memory using X-Git-Tag: V_1.4.0~21^2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3f409a9d68246ce1622a13699d85f1db07374ff2;p=modules%2Fshaper.git Fix of uninitialized memory using --- diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index cb24aa480..5a61d0017 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -96,7 +96,7 @@ QString qIntListInfo(const QIntList& theValues, const QString& theSeparator = QS } XGUI_Displayer::XGUI_Displayer(XGUI_Workshop* theWorkshop) - : myWorkshop(theWorkshop) + : myWorkshop(theWorkshop), myEnableUpdateViewer(true) { enableUpdateViewer(true); myCustomPrs = std::shared_ptr(new XGUI_CustomPrs());