mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-11-15 13:15:43 +08:00
Removed QColorSpace to fix Ubuntu build
This commit is contained in:
parent
2563b9e874
commit
7dee00f89b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user