Skip to content
Permalink
Browse files

Allow shift-drag zooming with touch tool

  • Loading branch information
nyalldawson committed Jul 22, 2016
1 parent 2dcd405 commit 39da9d1402018f7b5108a998e94173b466f4a4fc
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 39da9d1

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