mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 03:25:02 +00:00
update:add default port
This commit is contained in:
parent
72350665dc
commit
24012ef2af
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ void Dialog::on_wirelessConnectBtn_clicked()
|
|||
return;
|
||||
}
|
||||
QString addr = ui->deviceIpEdt->text().trimmed();
|
||||
if (!ui->devicePortEdt->placeholderText().isEmpty()) {
|
||||
addr += ":";
|
||||
addr += ui->devicePortEdt->placeholderText().trimmed();
|
||||
}
|
||||
if (!ui->devicePortEdt->text().isEmpty()) {
|
||||
addr += ":";
|
||||
addr += ui->devicePortEdt->text().trimmed();
|
||||
|
|
Loading…
Add table
Reference in a new issue