From fa09aefe0f8ef39391242369ad5ec9d19f8b0258 Mon Sep 17 00:00:00 2001 From: dnk-88 Date: Sun, 8 May 2011 00:13:56 +0300 Subject: [PATCH] Fixed: Mouse zoom correct works in geqt. --- .../tools/3d/object_viewer_widget/src/object_viewer_widget.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.cpp b/code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.cpp index 4c6d25b3a..cbee70185 100644 --- a/code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.cpp +++ b/code/nel/tools/3d/object_viewer_widget/src/object_viewer_widget.cpp @@ -62,7 +62,8 @@ namespace NLQT _CameraFocal(75), _CurrentInstance(""), _BloomEffect(false), _Scene(0), QWidget(parent) { - + setMouseTracking(true); + setFocusPolicy(Qt::StrongFocus); _objectViewerWidget = this; _isGraphicsEnabled = true;