summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-18 16:35:36 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-18 16:35:36 +0300
commit0d5fa0bc658e46269128bf23a9e981dfd9169de6 (patch)
tree913c8cb105ebfe8c37fa65a1a74b92e160e49364 /src/touchmanager.cpp
parent03c74387d37cefcc18e59db203d17d78cda40e8e (diff)
downloadmv-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.gz
mv-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.bz2
mv-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.xz
mv-0d5fa0bc658e46269128bf23a9e981dfd9169de6.zip
Use mouseeventtype in mouseinput.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp4
1 files changed, 2 insertions, 2 deletions
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)