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([=]()