Skip to content

Commit f02591a

Browse files
committed
Actual fix for the HAVE_TOUCH
1 parent e969376 commit f02591a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/gui/qgsmapcanvas.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -1799,15 +1799,10 @@ void QgsMapCanvas::mapToolDestroyed()
17991799
mMapTool = 0;
18001800
}
18011801

1802-
#if 0 // TODO[MD]: after merge
18031802
#ifdef HAVE_TOUCH
18041803
bool QgsMapCanvas::event( QEvent * e )
18051804
{
18061805
bool done = false;
1807-
if ( mDrawing )
1808-
{
1809-
return done;
1810-
}
18111806
if ( e->type() == QEvent::Gesture )
18121807
{
18131808
// call handler of current map tool
@@ -1824,4 +1819,3 @@ bool QgsMapCanvas::event( QEvent * e )
18241819
return done;
18251820
}
18261821
#endif
1827-
#endif

0 commit comments

Comments
 (0)