Skip to content
Permalink
Browse files

fixing bool QgsMapTool::gestureEvent( QGestureEvent *e ) must return …

…a value build (ms vc) error
  • Loading branch information
mbernasocchi committed Jun 23, 2012
1 parent b6ad69d commit 2238fc1d663fb8de68b31db8b500d42107ecb174
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 2238fc1

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