]> git.tdb.fi Git - libs/gui.git/blobdiff - source/input/gesturedetector.cpp
Add missing initializer
[libs/gui.git] / source / input / gesturedetector.cpp
index 98e3ff30522bdf6de8fbe7a8b052ddbadb54f92d..49ddba2b8478173dfbd65b9e80233ab356c0da03 100644 (file)
@@ -1,3 +1,4 @@
+#define _USE_MATH_DEFINES
 #include <cmath>
 #include <sigc++/bind_return.h>
 #include "gesturedetector.h"
@@ -264,7 +265,8 @@ GestureDetector::TouchPoint::TouchPoint():
        down_x(0),
        down_y(0),
        x(0),
-       y(0)
+       y(0),
+       threshold_exceeded(false)
 { }
 
 } // namespace Input