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 f124b5d commit 89a4b849abb14b046b760073bb9571c709fd87df
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 89a4b84

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