Fix for build on Windows.
--HG-- branch : develop
This commit is contained in:
parent
8e2f8f67eb
commit
ddd71403ad
|
@ -32,6 +32,7 @@
|
||||||
#include <QLineF>
|
#include <QLineF>
|
||||||
#include <QPainterPath>
|
#include <QPainterPath>
|
||||||
#include <QPointF>
|
#include <QPointF>
|
||||||
|
#include <QtCore/qmath.h>
|
||||||
|
|
||||||
#include "../container/vformula.h"
|
#include "../container/vformula.h"
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
#include "../options.h"
|
#include "../options.h"
|
||||||
#include "vpointf.h"
|
#include "vpointf.h"
|
||||||
#include <QLineF>
|
#include <QLineF>
|
||||||
|
#include <QtCore/qmath.h>
|
||||||
|
|
||||||
#ifdef Q_CC_GNU
|
#ifdef Q_CC_GNU
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
GraphicsViewZoom::GraphicsViewZoom(QGraphicsView* view)
|
GraphicsViewZoom::GraphicsViewZoom(QGraphicsView* view)
|
||||||
: QObject(view), _view(view), _modifiers(Qt::ControlModifier), _zoom_factor_base(1.0015),
|
: QObject(view), _view(view), _modifiers(Qt::ControlModifier), _zoom_factor_base(1.0015),
|
||||||
target_scene_pos(QPointF()), target_viewport_pos(QPointF()), _numScheduledScalings(0), anim(nullptr)
|
target_scene_pos(QPointF()), target_viewport_pos(QPointF()), anim(nullptr), _numScheduledScalings(0)
|
||||||
{
|
{
|
||||||
_view->viewport()->installEventFilter(this);
|
_view->viewport()->installEventFilter(this);
|
||||||
_view->setMouseTracking(true);
|
_view->setMouseTracking(true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user