From 3d236906de18c846aa052f1d4cef1b0686a43854 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 19 May 2014 20:07:24 +0300 Subject: Add missing case values. --- src/gui/gui.cpp | 5 +++++ src/touchmanager.cpp | 8 ++++++++ 2 files changed, 13 insertions(+) (limited to 'src') diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 6a7727c07..441f59d95 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -999,6 +999,11 @@ void Gui::handleMouseInput() case MouseEventType::WHEEL_MOVED_UP: handleMouseWheelMovedUp(mouseInput); break; + case MouseEventType::CLICKED: + case MouseEventType::ENTERED: + case MouseEventType::EXITED: + case MouseEventType::DRAGGED: + case MouseEventType::RELEASED2: default: break; } diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index dbb1ea9b2..aa5871057 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -296,6 +296,14 @@ bool TouchManager::processEvent(const MouseInput &mouseInput) item->funcReleased(event); break; default: + case MouseEventType::MOVED: + case MouseEventType::WHEEL_MOVED_DOWN: + case MouseEventType::WHEEL_MOVED_UP: + case MouseEventType::CLICKED: + case MouseEventType::ENTERED: + case MouseEventType::EXITED: + case MouseEventType::DRAGGED: + case MouseEventType::RELEASED2: break; } return true; -- cgit v1.2.3-70-g09d2