summaryrefslogtreecommitdiff
path: root/src/citron/configuration/configure_motion_touch.cpp
diff options
context:
space:
mode:
authorZephyron <zephyron@citron-emu.org>2024-12-31 17:07:49 +1000
committerZephyron <zephyron@citron-emu.org>2024-12-31 17:07:49 +1000
commitb3facaa6bb30cdc39f2b7d632fef1e3bfeee7785 (patch)
tree77d03cd30542cd5e1addc61f240b8120a5909e90 /src/citron/configuration/configure_motion_touch.cpp
parent6778aa8ec8e5fa0d246ac4b9ec00c10213c30ce5 (diff)
chore: update project references and add Citron copyright
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
Diffstat (limited to 'src/citron/configuration/configure_motion_touch.cpp')
-rw-r--r--src/citron/configuration/configure_motion_touch.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/citron/configuration/configure_motion_touch.cpp b/src/citron/configuration/configure_motion_touch.cpp
index fb1292f07..7192c128f 100644
--- a/src/citron/configuration/configure_motion_touch.cpp
+++ b/src/citron/configuration/configure_motion_touch.cpp
@@ -13,8 +13,8 @@
#include "input_common/helpers/udp_protocol.h"
#include "input_common/main.h"
#include "ui_configure_motion_touch.h"
-#include "yuzu/configuration/configure_motion_touch.h"
-#include "yuzu/configuration/configure_touch_from_button.h"
+#include "citron/configuration/configure_motion_touch.h"
+#include "citron/configuration/configure_touch_from_button.h"
CalibrationConfigurationDialog::CalibrationConfigurationDialog(QWidget* parent,
const std::string& host, u16 port)
@@ -85,7 +85,7 @@ ConfigureMotionTouch::ConfigureMotionTouch(QWidget* parent,
ui->udp_learn_more->setOpenExternalLinks(true);
ui->udp_learn_more->setText(
tr("<a "
- "href='https://yuzu-emu.org/wiki/"
+ "href='https://citron-emu.org/wiki/"
"using-a-controller-or-android-phone-for-motion-or-touch-input'><span "
"style=\"text-decoration: underline; color:#039be5;\">Learn More</span></a>"));
@@ -170,27 +170,27 @@ void ConfigureMotionTouch::OnUDPAddServer() {
const int row = udp_server_list_model->rowCount();
if (!ok) {
- QMessageBox::warning(this, tr("yuzu"), tr("Port number has invalid characters"));
+ QMessageBox::warning(this, tr("citron"), tr("Port number has invalid characters"));
return;
}
if (port_number < 0 || port_number > 65353) {
- QMessageBox::warning(this, tr("yuzu"), tr("Port has to be in range 0 and 65353"));
+ QMessageBox::warning(this, tr("citron"), tr("Port has to be in range 0 and 65353"));
return;
}
if (!re.match(server_text).hasMatch()) {
- QMessageBox::warning(this, tr("yuzu"), tr("IP address is not valid"));
+ QMessageBox::warning(this, tr("citron"), tr("IP address is not valid"));
return;
}
// Search for duplicates
for (const auto& item : udp_server_list_model->stringList()) {
if (item == server_string) {
- QMessageBox::warning(this, tr("yuzu"), tr("This UDP server already exists"));
+ QMessageBox::warning(this, tr("citron"), tr("This UDP server already exists"));
return;
}
}
// Limit server count to 8
if (row == 8) {
- QMessageBox::warning(this, tr("yuzu"), tr("Unable to add more than 8 servers"));
+ QMessageBox::warning(this, tr("citron"), tr("Unable to add more than 8 servers"));
return;
}
@@ -284,7 +284,7 @@ void ConfigureMotionTouch::OnConfigureTouchFromButton() {
bool ConfigureMotionTouch::CanCloseDialog() {
if (udp_test_in_progress) {
- QMessageBox::warning(this, tr("yuzu"),
+ QMessageBox::warning(this, tr("citron"),
tr("UDP Test or calibration configuration is in progress.<br>Please "
"wait for them to finish."));
return false;