From 0d5fa0bc658e46269128bf23a9e981dfd9169de6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 18 May 2014 16:35:36 +0300 Subject: Use mouseeventtype in mouseinput. --- src/touchmanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/touchmanager.cpp') diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp index 6158d1254..dbb1ea9b2 100644 --- a/src/touchmanager.cpp +++ b/src/touchmanager.cpp @@ -283,13 +283,13 @@ bool TouchManager::processEvent(const MouseInput &mouseInput) switch (mouseInput.getType()) { - case MouseInput::PRESSED: + case MouseEventType::PRESSED: if (!item->eventPressed.empty()) executeAction(item->eventPressed); else if (item->funcPressed) item->funcPressed(event); break; - case MouseInput::RELEASED: + case MouseEventType::RELEASED: if (!item->eventReleased.empty()) executeAction(item->eventReleased); else if (item->funcReleased) -- cgit v1.2.3-70-g09d2