From 948d7b0b6835169b74ed051b5183378060991f84 Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 28 Jan 2011 12:38:28 +0000 Subject: [PATCH] Initialisation of myAcceptMoveEvent --- src/GraphicsView/GraphicsView_ViewPort.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ) -- 2.39.2