Skip to content
Permalink
Browse files

Allow shift-drag zooming with touch tool

(cherry-picked from 39da9d1)
  • Loading branch information
nyalldawson committed Jul 26, 2016
1 parent e27d30f commit 532f9d5bd56106553be8a52c5de2a5efd612b1d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmaptooltouch.h
@@ -48,7 +48,7 @@ class GUI_EXPORT QgsMapToolTouch : public QgsMapTool
//! Overridden Mouse double click event.
virtual void canvasDoubleClickEvent( QgsMapMouseEvent* e ) override;

Q_DECL_DEPRECATED virtual bool isTransient() const override { return true; }
virtual Flags flags() const override { return QgsMapTool::Transient | QgsMapTool::AllowZoomRect; }

bool gestureEvent( QGestureEvent *event ) override;

0 comments on commit 532f9d5

Please sign in to comment.
You can’t perform that action at this time.