summaryrefslogtreecommitdiffstats
path: root/src/yuzu/bootmanager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-29 19:51:47 +0200
committerLioncash <mathew1800@gmail.com>2020-08-29 20:33:10 +0200
commit1aba91e993d933c30c4201a3ada3ea6dea96eebb (patch)
treed0a946e416a245e32bd89307ed23dc515468a85e /src/yuzu/bootmanager.cpp
parentMerge pull request #4600 from lioncash/prototype (diff)
downloadyuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar.gz
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar.bz2
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar.lz
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar.xz
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.tar.zst
yuzu-1aba91e993d933c30c4201a3ada3ea6dea96eebb.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu/bootmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index f1b428bde..a6d51c291 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -452,7 +452,7 @@ void GRenderWindow::TouchUpdateEvent(const QTouchEvent* event) {
int active_points = 0;
// average all active touch points
- for (const auto tp : event->touchPoints()) {
+ for (const auto& tp : event->touchPoints()) {
if (tp.state() & (Qt::TouchPointPressed | Qt::TouchPointMoved | Qt::TouchPointStationary)) {
active_points++;
pos += tp.pos();