@@ -31,6 +31,9 @@
3131#include "../ApplicationArguments.h"
3232#include "../CachingNetworkManagerFactory.h"
3333
34+// Ubuntu Gestures
35+#include <TouchRegistry.h>
36+
3437int main(int argc, const char *argv[])
3538{
3639 QGuiApplication *application = new QGuiApplication(argc, (char**)argv);
@@ -88,6 +91,9 @@ int main(int argc, const char *argv[])
8891 view->setTitle("Scopes");
8992 view->rootContext()->setContextProperty("applicationArguments", &qmlArgs);
9093
94+ TouchRegistry touchRegistry;
95+ view->installEventFilter(&touchRegistry);
96+
9197 // You will need this if you want to interact with touch-only components using a mouse
9298 // Needed only when manually testing on a desktop.
9399 MouseTouchAdaptor *mouseTouchAdaptor = 0;