修复拉取列表未清空全局变量问题
修复更新后不更新列表信息问题
This commit is contained in:
parent
fd35c2bf03
commit
f3dc14698d
@ -257,7 +257,6 @@ bool xsteam_curl_steam_id_app_info(UidData &u_data)
|
|||||||
}
|
}
|
||||||
if (u_data.name != "")
|
if (u_data.name != "")
|
||||||
{
|
{
|
||||||
//_data.u_data.push_back(u_data);
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
@ -92,6 +92,7 @@ bool xsteam_git::branch_or_tags_remote_array()
|
|||||||
out << std::setw(4) << ref_name.substr(local_head_str.size()) << "\n";
|
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<std::string, std::vector<std::string>>(src_name, tags));
|
_data.s_ex_data.insert(std::pair<std::string, std::vector<std::string>>(src_name, tags));
|
||||||
out.close();
|
out.close();
|
||||||
free_git_ext();
|
free_git_ext();
|
||||||
|
@ -491,6 +491,8 @@ void xsteam_ui::slots_table_append(UidData u_data)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
ip_uid_table->item_clear();
|
||||||
|
table_load_ui_data();
|
||||||
slots_msg_text(u_data.uid + "更新完毕!");
|
slots_msg_text(u_data.uid + "更新完毕!");
|
||||||
}
|
}
|
||||||
QFuture<void> future = QtConcurrent::run([=]()
|
QFuture<void> future = QtConcurrent::run([=]()
|
||||||
|
Loading…
Reference in New Issue
Block a user