From f3dc14698d4ee2d9ffe906f04f36521ad12dec2b Mon Sep 17 00:00:00 2001 From: JackLee_CN <809262979@qq.com> Date: Sun, 20 Oct 2024 18:27:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=89=E5=8F=96=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=9C=AA=E6=B8=85=E7=A9=BA=E5=85=A8=E5=B1=80=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E9=97=AE=E9=A2=98=20=E4=BF=AE=E5=A4=8D=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=90=8E=E4=B8=8D=E6=9B=B4=E6=96=B0=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/xsteam_ex.cpp | 1 - src/xsteam_git.cpp | 1 + src/xsteam_ui.cpp | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xsteam_ex.cpp b/src/xsteam_ex.cpp index 043af95..e3220c5 100644 --- a/src/xsteam_ex.cpp +++ b/src/xsteam_ex.cpp @@ -257,7 +257,6 @@ bool xsteam_curl_steam_id_app_info(UidData &u_data) } if (u_data.name != "") { - //_data.u_data.push_back(u_data); return true; } return false; diff --git a/src/xsteam_git.cpp b/src/xsteam_git.cpp index 20df3df..a1a9720 100644 --- a/src/xsteam_git.cpp +++ b/src/xsteam_git.cpp @@ -92,6 +92,7 @@ bool xsteam_git::branch_or_tags_remote_array() out << std::setw(4) << ref_name.substr(local_head_str.size()) << "\n"; } } + _data.s_ex_data[src_name].clear(); _data.s_ex_data.insert(std::pair>(src_name, tags)); out.close(); free_git_ext(); diff --git a/src/xsteam_ui.cpp b/src/xsteam_ui.cpp index e467a54..3cca713 100644 --- a/src/xsteam_ui.cpp +++ b/src/xsteam_ui.cpp @@ -491,6 +491,8 @@ void xsteam_ui::slots_table_append(UidData u_data) break; } } + ip_uid_table->item_clear(); + table_load_ui_data(); slots_msg_text(u_data.uid + "更新完毕!"); } QFuture future = QtConcurrent::run([=]()