fix uid nullptr bug

This commit is contained in:
JackLee_CN 2024-11-05 13:43:03 +08:00
parent 5692966430
commit 25b4c9146c

View File

@ -255,7 +255,7 @@ void xsteam_ui::slots_get_uid_dlcs()
UidData uid_data; UidData uid_data;
uid_data.uid = ip_uid_edit->text().toStdString(); uid_data.uid = ip_uid_edit->text().toStdString();
uid_data.s_name = server_txt->currentText().toStdString(); uid_data.s_name = server_txt->currentText().toStdString();
if(uid_data.uid!=""){ if(uid_data.uid==""){
slots_msg_text("UID不能为空"); slots_msg_text("UID不能为空");
return; return;
} }