mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 10:45:24 +02:00
Remove unused variable thisPointConsumed
This commit is contained in:
parent
a3811c2844
commit
80abe1865a
1 changed files with 0 additions and 3 deletions
|
@ -267,7 +267,6 @@ void TouchscreenVirtualPadDevice::touchUpdateEvent(const QTouchEvent* event) {
|
|||
int idxMoveStartingPointCandidate = -1;
|
||||
int idxViewStartingPointCandidate = -1;
|
||||
|
||||
bool thisPointConsumed = false;
|
||||
glm::vec2 thisPoint;
|
||||
int thisPointId;
|
||||
std::map<int, TouchType> unusedTouchesInEvent;
|
||||
|
@ -276,7 +275,6 @@ void TouchscreenVirtualPadDevice::touchUpdateEvent(const QTouchEvent* event) {
|
|||
thisPoint.x = tPoints[i].pos().x();
|
||||
thisPoint.y = tPoints[i].pos().y();
|
||||
thisPointId = tPoints[i].id();
|
||||
thisPointConsumed = false;
|
||||
|
||||
if (!moveTouchFound && _moveHasValidTouch && _moveCurrentTouchId == thisPointId) {
|
||||
// valid if it's an ongoing touch
|
||||
|
@ -301,7 +299,6 @@ void TouchscreenVirtualPadDevice::touchUpdateEvent(const QTouchEvent* event) {
|
|||
if (!viewTouchFound && idxViewStartingPointCandidate == -1 && viewTouchBeginIsValid(thisPoint) &&
|
||||
(!_unusedTouches.count(thisPointId) || _unusedTouches[thisPointId] == VIEW )) {
|
||||
idxViewStartingPointCandidate = i;
|
||||
thisPointConsumed = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue