diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-19 20:07:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-19 20:07:24 +0300 |
commit | 3d236906de18c846aa052f1d4cef1b0686a43854 (patch) | |
tree | 3e52a1995a6c6eb8d3c428432d711fd6f95ed8e5 | |
parent | 7b6b389fe156b8ff1fc1f35ee776a2e65f160921 (diff) | |
download | mv-3d236906de18c846aa052f1d4cef1b0686a43854.tar.gz mv-3d236906de18c846aa052f1d4cef1b0686a43854.tar.bz2 mv-3d236906de18c846aa052f1d4cef1b0686a43854.tar.xz mv-3d236906de18c846aa052f1d4cef1b0686a43854.zip |
Add missing case values.
-rw-r--r-- | src/gui/gui.cpp | 5 | ||||
-rw-r--r-- | src/touchmanager.cpp | 8 |
2 files changed, 13 insertions, 0 deletions
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; |