]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Restore RubberBand drawing
authorvsv <vitaly.smetannikov@opencascade.com>
Fri, 3 Oct 2014 15:10:38 +0000 (19:10 +0400)
committervsv <vitaly.smetannikov@opencascade.com>
Fri, 3 Oct 2014 15:10:38 +0000 (19:10 +0400)
src/XGUI/XGUI_RubberBand.cpp

index f6cf5857bf9b7d88aca08791ea7e0b7d3fd28469..1ed0d5f320cf419ca0258aecee3079c9096de4a8 100644 (file)
@@ -28,7 +28,11 @@ XGUI_AbstractRubberBand::XGUI_AbstractRubberBand(QWidget* theParent)
   setAttribute(Qt::WA_TransparentForMouseEvents);\r
 #ifndef WIN32\r
   setAttribute(Qt::WA_NoSystemBackground);\r
-#endif //WIN32\r  setAttribute(Qt::WA_WState_ExplicitShowHide);\r  setVisible(false);\r  theParent->installEventFilter(this);\r  setGeometry(QRect(QPoint(0, 0), theParent->size()));\r
+#endif //WIN32\r
+  setAttribute(Qt::WA_WState_ExplicitShowHide);\r
+  setVisible(false);\r
+  theParent->installEventFilter(this);\r
+  setGeometry(QRect(QPoint(0, 0), theParent->size()));\r
 }\r
 \r
 /*!\r