Package: qgis / 2.4.0-1

0001-Fix-10589-Gesture-events-don-t-get-sent-correctly-wi.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From 232e23ad3bb437693280443a7f20559d2f3f0f60 Mon Sep 17 00:00:00 2001
From: Nathan Woodrow <nathan.woodrow@mapsolutions.com.au>
Date: Tue, 1 Jul 2014 21:25:04 +1000
Subject: Fix #10589 - Gesture events don't get sent correctly with
 interactive mode on view
Origin: https://github.com/qgis/QGIS/commit/232e23ad3bb437693280443a7f20559d2f3f0f60
Bug: http://hub.qgis.org/issues/10589


--- a/src/gui/qgsmapcanvas.cpp
+++ b/src/gui/qgsmapcanvas.cpp
@@ -246,6 +246,8 @@ QgsMapCanvas::QgsMapCanvas( QWidget * pa
   mPreviewEffect = new QgsPreviewEffect( this );
   viewport()->setGraphicsEffect( mPreviewEffect );
 
+  setInteractive( false );
+
   refresh();
 
 } // QgsMapCanvas ctor