From 441e1c5ad658b0fb6afbc24f1c3b6574f1203251 Mon Sep 17 00:00:00 2001 From: Julien STAUB Date: Thu, 27 Aug 2026 08:52:26 +0200 Subject: [PATCH 1/2] minor cleanup --- custom3dinputhandler.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/custom3dinputhandler.cpp b/custom3dinputhandler.cpp index dbba0d91..87af9c73 100644 --- a/custom3dinputhandler.cpp +++ b/custom3dinputhandler.cpp @@ -1,5 +1,5 @@ #include "custom3dinputhandler.h" -#include + Custom3DInputHandler::Custom3DInputHandler(QAbstract3DGraph *graph) : Q3DInputHandler(graph), m_isRightDragging(false), m_graphRef(graph) { setZoomAtTargetEnabled(true); @@ -28,7 +28,6 @@ void Custom3DInputHandler::mousePressEvent(QMouseEvent *event, const QPoint &mou mappedButton, mappedButtons, event->modifiers()); #endif Q3DInputHandler::mousePressEvent(&customEvent, mousePos); - Q3DInputHandler::mousePressEvent(&customEvent, mousePos); } void Custom3DInputHandler::mouseReleaseEvent(QMouseEvent *event, const QPoint &mousePos) { @@ -51,7 +50,6 @@ void Custom3DInputHandler::mouseReleaseEvent(QMouseEvent *event, const QPoint &m QMouseEvent customEvent(event->type(), event->localPos(), event->globalPos(), mappedButton, mappedButtons, event->modifiers()); #endif - Q3DInputHandler::mousePressEvent(&customEvent, mousePos); Q3DInputHandler::mouseReleaseEvent(&customEvent, mousePos); } From 6dfb493d57e55017fd466f7c50d900c8d297a4f9 Mon Sep 17 00:00:00 2001 From: Julien Staub Date: Tue, 1 Sep 2026 08:10:26 +0200 Subject: [PATCH 2/2] repair Qt build --- custom3dinputhandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/custom3dinputhandler.cpp b/custom3dinputhandler.cpp index 87af9c73..1acb96bf 100644 --- a/custom3dinputhandler.cpp +++ b/custom3dinputhandler.cpp @@ -1,5 +1,6 @@ #include "custom3dinputhandler.h" - +// required only with Qt5 build +#include Custom3DInputHandler::Custom3DInputHandler(QAbstract3DGraph *graph) : Q3DInputHandler(graph), m_isRightDragging(false), m_graphRef(graph) { setZoomAtTargetEnabled(true);