Skip to content

Commit

Permalink
Allow shift-drag zooming with touch tool
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 22, 2016
1 parent 2dcd405 commit 39da9d1
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 39da9d1

Please sign in to comment.