mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 23:17:35 -06:00
ENH: optimize track logic
Change-Id: I1fea7eb9681389924c32f3754fc77ee21a3ab898 Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
parent
0a1c597da0
commit
36e0cc0b12
3 changed files with 6 additions and 2 deletions
|
@ -3954,6 +3954,7 @@ void GUI_App::check_track_enable()
|
|||
wxString os_desc = wxGetOsDescription();
|
||||
int major = 0, minor = 0, micro = 0;
|
||||
header_json["os"] = std::string(os_desc.ToUTF8());
|
||||
header_json["name"] = std::string(SLIC3R_APP_NAME);
|
||||
if (m_agent) {
|
||||
m_agent->track_header(header_json.dump());
|
||||
m_agent->track_enable(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue