From 25b4c9146c7dd3a3bff34d8d0be7a96bfc8ec26f Mon Sep 17 00:00:00 2001 From: JackLee_CN <809262979@qq.com> Date: Tue, 5 Nov 2024 13:43:03 +0800 Subject: [PATCH] fix uid nullptr bug --- src/xsteam_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xsteam_ui.cpp b/src/xsteam_ui.cpp index fff6ce8..bf9a8f0 100644 --- a/src/xsteam_ui.cpp +++ b/src/xsteam_ui.cpp @@ -255,7 +255,7 @@ void xsteam_ui::slots_get_uid_dlcs() UidData uid_data; uid_data.uid = ip_uid_edit->text().toStdString(); uid_data.s_name = server_txt->currentText().toStdString(); - if(uid_data.uid!=""){ + if(uid_data.uid==""){ slots_msg_text("UID不能为空"); return; }