mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-02 21:58:42 +00:00
fix: nick name show error
This commit is contained in:
parent
9be8ec1856
commit
b479180c97
2 changed files with 7 additions and 2 deletions
|
@ -132,8 +132,6 @@ void Dialog::initUI()
|
||||||
|
|
||||||
updateBootConfig(true);
|
updateBootConfig(true);
|
||||||
|
|
||||||
ui->userNameEdt->setText(Config::getInstance().getNickName(ui->serialBox->currentText()));
|
|
||||||
|
|
||||||
on_useSingleModeCheck_clicked();
|
on_useSingleModeCheck_clicked();
|
||||||
|
|
||||||
on_updateDevice_clicked();
|
on_updateDevice_clicked();
|
||||||
|
@ -622,3 +620,8 @@ void Dialog::on_useSingleModeCheck_clicked()
|
||||||
ui->usbGroupBox->show();
|
ui->usbGroupBox->show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Dialog::on_serialBox_currentIndexChanged(const QString &arg1)
|
||||||
|
{
|
||||||
|
ui->userNameEdt->setText(Config::getInstance().getNickName(arg1));
|
||||||
|
}
|
||||||
|
|
|
@ -73,6 +73,8 @@ private slots:
|
||||||
|
|
||||||
void on_useSingleModeCheck_clicked();
|
void on_useSingleModeCheck_clicked();
|
||||||
|
|
||||||
|
void on_serialBox_currentIndexChanged(const QString &arg1);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool checkAdbRun();
|
bool checkAdbRun();
|
||||||
void initUI();
|
void initUI();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue