summaryrefslogtreecommitdiff
path: root/src/citron/bootmanager.cpp
diff options
context:
space:
mode:
authorvampiric_x <vampiric_x@citron-emu.org>2025-01-12 04:26:22 +0100
committervampiric_x <vampiric_x@citron-emu.org>2025-01-12 04:26:22 +0100
commit2d7f9d921b3508a5c5effba5604aaea5620441ef (patch)
tree60bf9c618aab4ad201f4ef12a03e709fc152f586 /src/citron/bootmanager.cpp
parentd3ed42af8f697fde240b26e02aab0c6cf3c137c5 (diff)
ui(QT): QT 6.7.3 Implementation
Diffstat (limited to 'src/citron/bootmanager.cpp')
-rw-r--r--src/citron/bootmanager.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/citron/bootmanager.cpp b/src/citron/bootmanager.cpp
index 7443c7048..96d9f970f 100644
--- a/src/citron/bootmanager.cpp
+++ b/src/citron/bootmanager.cpp
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: 2014 Citra Emulator Project & 2025 Citron Homebrew Project
+// SPDX-FileCopyrightText: 2025 Citron Homebrew Emulator Project & vampiric_x 2025
// SPDX-License-Identifier: GPL-2.0-or-later
#include <algorithm>
@@ -736,19 +736,19 @@ void GRenderWindow::wheelEvent(QWheelEvent* event) {
}
void GRenderWindow::TouchBeginEvent(const QTouchEvent* event) {
- QList<QTouchEvent::TouchPoint> touch_points = event->touchPoints();
+ QList<QTouchEvent::TouchPoint> touch_points = event->points();
for (const auto& touch_point : touch_points) {
- const auto [x, y] = ScaleTouch(touch_point.pos());
+ const auto [x, y] = ScaleTouch(touch_point.position());
const auto [touch_x, touch_y] = MapToTouchScreen(x, y);
input_subsystem->GetTouchScreen()->TouchPressed(touch_x, touch_y, touch_point.id());
}
}
void GRenderWindow::TouchUpdateEvent(const QTouchEvent* event) {
- QList<QTouchEvent::TouchPoint> touch_points = event->touchPoints();
+ QList<QTouchEvent::TouchPoint> touch_points = event->points();
input_subsystem->GetTouchScreen()->ClearActiveFlag();
for (const auto& touch_point : touch_points) {
- const auto [x, y] = ScaleTouch(touch_point.pos());
+ const auto [x, y] = ScaleTouch(touch_point.position());
const auto [touch_x, touch_y] = MapToTouchScreen(x, y);
input_subsystem->GetTouchScreen()->TouchMoved(touch_x, touch_y, touch_point.id());
}
@@ -1137,4 +1137,4 @@ bool GRenderWindow::eventFilter(QObject* object, QEvent* event) {
emit MouseActivity();
}
return false;
-}
+} \ No newline at end of file