mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-20 11:35:56 +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);
|
||||
|
||||
ui->userNameEdt->setText(Config::getInstance().getNickName(ui->serialBox->currentText()));
|
||||
|
||||
on_useSingleModeCheck_clicked();
|
||||
|
||||
on_updateDevice_clicked();
|
||||
|
@ -622,3 +620,8 @@ void Dialog::on_useSingleModeCheck_clicked()
|
|||
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_serialBox_currentIndexChanged(const QString &arg1);
|
||||
|
||||
private:
|
||||
bool checkAdbRun();
|
||||
void initUI();
|
||||
|
|
Loading…
Add table
Reference in a new issue