Removed QColorSpace to fix Ubuntu build

This commit is contained in:
Uwe Kindler 2022-11-14 15:23:08 +01:00
parent 2563b9e874
commit 7dee00f89b

View File

@ -18,7 +18,6 @@
#include <QMessageBox> #include <QMessageBox>
#include <QApplication> #include <QApplication>
#include <QDir> #include <QDir>
#include <QColorSpace>
#include <QFileDialog> #include <QFileDialog>
#include <QStandardPaths> #include <QStandardPaths>
#include <QAction> #include <QAction>
@ -261,7 +260,7 @@ void CImageViewer::mouseMoveEvent(QMouseEvent* Event)
//============================================================================ //============================================================================
void CImageViewer::wheelEvent(QWheelEvent* Event) void CImageViewer::wheelEvent(QWheelEvent* Event)
{ {
double numDegrees = Event->delta() / 8; double numDegrees = Event->angleDelta().y() / 8;
double numSteps = numDegrees / 15; double numSteps = numDegrees / 15;
d->AutoFit = false; d->AutoFit = false;
double Zoom; double Zoom;