diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-18 16:35:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-18 16:35:36 +0300 |
commit | 0d5fa0bc658e46269128bf23a9e981dfd9169de6 (patch) | |
tree | 913c8cb105ebfe8c37fa65a1a74b92e160e49364 /src/touchmanager.cpp | |
parent | 03c74387d37cefcc18e59db203d17d78cda40e8e (diff) | |
download | plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.gz plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.bz2 plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.tar.xz plus-0d5fa0bc658e46269128bf23a9e981dfd9169de6.zip |
Use mouseeventtype in mouseinput.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r-- | src/touchmanager.cpp | 4 |
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) |