Skip to content

Commit 2238fc1

Browse files
committedJun 23, 2012
fixing bool QgsMapTool::gestureEvent( QGestureEvent *e ) must return a value build (ms vc) error
1 parent b6ad69d commit 2238fc1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
643643
}
644644

645645
#ifdef HAVE_TOUCH
646-
//add reacting to long click in android
646+
//add reacting to long click in touch
647647
grabGesture( Qt::TapAndHoldGesture );
648648
#else
649649
//remove mActionTouch button

‎src/gui/qgsmaptool.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ void QgsMapTool::keyReleaseEvent( QKeyEvent *e )
145145
bool QgsMapTool::gestureEvent( QGestureEvent *e )
146146
{
147147
Q_UNUSED( e );
148+
return true;
148149
}
149150
#endif
150151

0 commit comments

Comments
 (0)
Please sign in to comment.