mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 21:33:03 +00:00
Merge pull request #5156 from comex/xx-raws
configure_motion_touch: Fix unescaped backslash in regex
This commit is contained in:
commit
00c6254129
|
@ -183,8 +183,8 @@ void ConfigureMotionTouch::ConnectEvents() {
|
|||
}
|
||||
|
||||
void ConfigureMotionTouch::OnUDPAddServer() {
|
||||
QRegExp re(tr("^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?["
|
||||
"0-9][0-9]?)$")); // a valid ip address
|
||||
QRegExp re(tr(R"re(^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4]"
|
||||
"[0-9]|[01]?[0-9][0-9]?)$)re")); // a valid ip address
|
||||
bool ok;
|
||||
QString port_text = ui->udp_port->text();
|
||||
QString server_text = ui->udp_server->text();
|
||||
|
|
Loading…
Reference in a new issue