Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Allow shift-drag zooming with touch tool
(cherry-picked from 39da9d1)
  • Loading branch information
nyalldawson committed Jul 26, 2016
1 parent e27d30f commit 532f9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmaptooltouch.h
Expand Up @@ -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;

Expand Down

0 comments on commit 532f9d5

Please sign in to comment.