From 7dee00f89b5d82a32e441d1ea9cf48cece966ef7 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 14 Nov 2022 15:23:08 +0100 Subject: [PATCH] Removed QColorSpace to fix Ubuntu build --- demo/ImageViewer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/ImageViewer.cpp b/demo/ImageViewer.cpp index 43c7d15..073be1f 100644 --- a/demo/ImageViewer.cpp +++ b/demo/ImageViewer.cpp @@ -18,7 +18,6 @@ #include #include #include -#include #include #include #include @@ -261,7 +260,7 @@ void CImageViewer::mouseMoveEvent(QMouseEvent* Event) //============================================================================ void CImageViewer::wheelEvent(QWheelEvent* Event) { - double numDegrees = Event->delta() / 8; + double numDegrees = Event->angleDelta().y() / 8; double numSteps = numDegrees / 15; d->AutoFit = false; double Zoom;