From: vsv Date: Fri, 3 Oct 2014 15:10:38 +0000 (+0400) Subject: Restore RubberBand drawing X-Git-Tag: V_0.5~116 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c579ea71641957fac91011a67ab47883cd3cf52;p=modules%2Fshaper.git Restore RubberBand drawing --- diff --git a/src/XGUI/XGUI_RubberBand.cpp b/src/XGUI/XGUI_RubberBand.cpp index f6cf5857b..1ed0d5f32 100644 --- a/src/XGUI/XGUI_RubberBand.cpp +++ b/src/XGUI/XGUI_RubberBand.cpp @@ -28,7 +28,11 @@ XGUI_AbstractRubberBand::XGUI_AbstractRubberBand(QWidget* theParent) setAttribute(Qt::WA_TransparentForMouseEvents); #ifndef WIN32 setAttribute(Qt::WA_NoSystemBackground); -#endif //WIN32 setAttribute(Qt::WA_WState_ExplicitShowHide); setVisible(false); theParent->installEventFilter(this); setGeometry(QRect(QPoint(0, 0), theParent->size())); +#endif //WIN32 + setAttribute(Qt::WA_WState_ExplicitShowHide); + setVisible(false); + theParent->installEventFilter(this); + setGeometry(QRect(QPoint(0, 0), theParent->size())); } /*!