FIX: hide_id_middle_string 2

Change-Id: Iadf17b13416b8c6a3e8b4191493d459851d4d7d8
This commit is contained in:
chunmao.guo 2024-01-15 17:09:25 +08:00 committed by Lane.Wei
parent 0e277ec066
commit f79a3aa069
2 changed files with 2 additions and 6 deletions

View File

@ -201,7 +201,7 @@ MediaFilePanel::~MediaFilePanel()
wxString hide_id_middle_string(wxString const &str, size_t offset = 0, size_t length = -1);
void MediaFilePanel::SetMachineObject(MachineObject* obj)
void MediaFilePanel::SetMachineObject(MachineObject* obj)
{
std::string machine = obj ? obj->dev_id : "";
if (obj) {

View File

@ -1214,10 +1214,6 @@ void PrinterFileSystem::HandleResponse(boost::unique_lock<boost::mutex> &l, Bamb
}
}
namespace Slic3r { namespace GUI {
extern wxString hide_passwd(wxString url, std::vector<wxString> const &passwords);
}}
void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int result)
{
if (m_session.tunnel) {
@ -1261,7 +1257,7 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
if (m_last_error == 0)
m_stopped = true;
} else {
wxLogMessage("PrinterFileSystem::Reconnect Initialized: %s", Slic3r::GUI::hide_passwd(wxString::FromUTF8(url), {"authkey=", "passwd="}));
wxLogInfo("PrinterFileSystem::Reconnect Initialized: %s", wxString::FromUTF8(url));
l.unlock();
m_status = Status::Connecting;
wxLogMessage("PrinterFileSystem::Reconnect Connecting");