Showing with 2 additions and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −0 src/gui/qgsmaptool.cpp
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
}

#ifdef HAVE_TOUCH
//add reacting to long click in android
//add reacting to long click in touch
grabGesture( Qt::TapAndHoldGesture );
#else
//remove mActionTouch button
Expand Down
1 change: 1 addition & 0 deletions src/gui/qgsmaptool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ void QgsMapTool::keyReleaseEvent( QKeyEvent *e )
bool QgsMapTool::gestureEvent( QGestureEvent *e )
{
Q_UNUSED( e );
return true;
}
#endif

Expand Down