equal
deleted
inserted
replaced
178 // gesture happend (like a four-finger-swipe to show expose). |
178 // gesture happend (like a four-finger-swipe to show expose). |
179 |
179 |
180 if (_touchCount != _currentTouches.size()) { |
180 if (_touchCount != _currentTouches.size()) { |
181 // Remove all instances, and basically start from scratch: |
181 // Remove all instances, and basically start from scratch: |
182 touchPoints.clear(); |
182 touchPoints.clear(); |
183 QList<QCocoaTouch *> list = _currentTouches.values(); |
|
184 foreach (QCocoaTouch *qcocoaTouch, _currentTouches.values()) { |
183 foreach (QCocoaTouch *qcocoaTouch, _currentTouches.values()) { |
185 if (!_updateInternalStateOnly) { |
184 if (!_updateInternalStateOnly) { |
186 qcocoaTouch->_touchPoint.setState(Qt::TouchPointReleased); |
185 qcocoaTouch->_touchPoint.setState(Qt::TouchPointReleased); |
187 touchPoints.insert(qcocoaTouch->_touchPoint.id(), qcocoaTouch->_touchPoint); |
186 touchPoints.insert(qcocoaTouch->_touchPoint.id(), qcocoaTouch->_touchPoint); |
188 } |
187 } |