Skip to content

Commit

Permalink
Merge pull request #184 from mbernasocchi/android
Browse files Browse the repository at this point in the history
fixing bool QgsMapTool::gestureEvent( QGestureEvent *e )
  • Loading branch information
NathanW2 committed Jun 23, 2012
2 parents b6ad69d + 2238fc1 commit 10d4dea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
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
Expand Up @@ -145,6 +145,7 @@ void QgsMapTool::keyReleaseEvent( QKeyEvent *e )
bool QgsMapTool::gestureEvent( QGestureEvent *e )
{
Q_UNUSED( e );
return true;
}
#endif

Expand Down

0 comments on commit 10d4dea

Please sign in to comment.