mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 07:31:33 +08:00
Removed QColorSpace to fix Ubuntu build
This commit is contained in:
parent
2563b9e874
commit
7dee00f89b
@ -18,7 +18,6 @@
|
||||
#include <QMessageBox>
|
||||
#include <QApplication>
|
||||
#include <QDir>
|
||||
#include <QColorSpace>
|
||||
#include <QFileDialog>
|
||||
#include <QStandardPaths>
|
||||
#include <QAction>
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user