ENH: optimize track logic

Change-Id: I1fea7eb9681389924c32f3754fc77ee21a3ab898
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li authored and Lane.Wei committed 2023-04-17 15:39:02 +08:00
1 parent 0a1c597da0
commit 36e0cc0b12
3 files changed
+6 -2

No files matched your search

+1
View File
@@ -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);