From 5c579ea71641957fac91011a67ab47883cd3cf52 Mon Sep 17 00:00:00 2001 From: vsv Date: Fri, 3 Oct 2014 19:10:38 +0400 Subject: [PATCH] Restore RubberBand drawing --- src/XGUI/XGUI_RubberBand.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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())); } /*! -- 2.39.2