Skip to content
Permalink
Browse files

Merge pull request #184 from mbernasocchi/android

fixing bool QgsMapTool::gestureEvent( QGestureEvent *e )
  • Loading branch information
NathanW2 committed Jun 23, 2012
2 parents b6ad69d + 2238fc1 commit 10d4deaa2926835a00f37e679602b03669d17406
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −0 src/gui/qgsmaptool.cpp
@@ -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
@@ -145,6 +145,7 @@ void QgsMapTool::keyReleaseEvent( QKeyEvent *e )
bool QgsMapTool::gestureEvent( QGestureEvent *e )
{
Q_UNUSED( e );
return true;
}
#endif

0 comments on commit 10d4dea

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