Skip to content

Commit

Permalink
fixing bool QgsMapTool::gestureEvent( QGestureEvent *e ) must return …
Browse files Browse the repository at this point in the history
…a value build (ms vc) error
  • Loading branch information
mbernasocchi committed Jun 23, 2012
1 parent b6ad69d commit 2238fc1
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 2238fc1

Please sign in to comment.