@@ -159,7 +159,7 @@ QString TouchGate::oldestPendingTouchIdsString()
160 QString str;
160 QString str;
162− auto touchPoints = m_storedEvents.first()->touchPoints();
162+ const auto &touchPoints = m_storedEvents.first().touchPoints;
163 for (int i = 0; i < touchPoints.count(); ++i) {
163 for (int i = 0; i < touchPoints.count(); ++i) {
164 if (!isTouchPointOwned(touchPoints[i].id())) {
164 if (!isTouchPointOwned(touchPoints[i].id())) {
165 if (!str.isEmpty()) {
165 if (!str.isEmpty()) {