From: ouv Date: Fri, 28 Jan 2011 12:38:28 +0000 (+0000) Subject: Initialisation of myAcceptMoveEvent X-Git-Tag: DIAGRAM_0_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=948d7b0b6835169b74ed051b5183378060991f84;p=modules%2Fgui.git Initialisation of myAcceptMoveEvent --- diff --git a/src/GraphicsView/GraphicsView_ViewPort.cxx b/src/GraphicsView/GraphicsView_ViewPort.cxx index 18bfa5f50..71f3ac13c 100644 --- a/src/GraphicsView/GraphicsView_ViewPort.cxx +++ b/src/GraphicsView/GraphicsView_ViewPort.cxx @@ -56,7 +56,12 @@ QCursor* GraphicsView_ViewPort::zoomCursor = 0; class GraphicsView_ViewPort::NameLabel : public QLabel { public: - NameLabel( QWidget* theParent ) : QLabel( theParent ) {} + NameLabel( QWidget* theParent ) + : + QLabel( theParent ), + myAcceptMoveEvents( false ) + { + } ~NameLabel() {} void setAcceptMoveEvents( bool theFlag )