FIX: take addr of refresh_agora_url

Change-Id: I02e7010634f578d76d3d4ee39edf73117d5684d1
Jira: none
(cherry picked from commit ee290b439d2dd19bc00e7037b38fc48bc741b938)
This commit is contained in:
chunmao.guo 2024-09-20 16:12:25 +08:00 committed by Noisyfox
parent a0c0964b8c
commit b0be4bcf61
2 changed files with 3 additions and 3 deletions

View file

@ -486,7 +486,7 @@ void MediaFilePanel::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
url += "&device=" + m;
url += "&net_ver=" + v;
url += "&dev_ver=" + dv;
url += "&refresh_url=" + boost::lexical_cast<std::string>(refresh_agora_url);
url += "&refresh_url=" + boost::lexical_cast<std::string>(&refresh_agora_url);
url += "&cli_id=" + wxGetApp().app_config->get("slicer_uuid");
url += "&cli_ver=" + std::string(SLIC3R_VERSION);
}

View file

@ -331,7 +331,7 @@ void MediaPlayCtrl::Play()
url += "&device=" + into_u8(m);
url += "&net_ver=" + v;
url += "&dev_ver=" + dv;
url += "&refresh_url=" + boost::lexical_cast<std::string>(refresh_agora_url);
url += "&refresh_url=" + boost::lexical_cast<std::string>(&refresh_agora_url);
url += "&cli_id=" + wxGetApp().app_config->get("slicer_uuid");
url += "&cli_ver=" + std::string(SLIC3R_VERSION);
}
@ -533,7 +533,7 @@ void MediaPlayCtrl::ToggleStream()
url += "&device=" + m;
url += "&net_ver=" + v;
url += "&dev_ver=" + dv;
url += "&refresh_url=" + boost::lexical_cast<std::string>(refresh_agora_url);
url += "&refresh_url=" + boost::lexical_cast<std::string>(&refresh_agora_url);
url += "&cli_id=" + wxGetApp().app_config->get("slicer_uuid");
url += "&cli_ver=" + std::string(SLIC3R_VERSION);
}