FIX: hide_id_middle_string 2
Change-Id: Iadf17b13416b8c6a3e8b4191493d459851d4d7d8
This commit is contained in:
parent
0e277ec066
commit
f79a3aa069
|
@ -201,7 +201,7 @@ MediaFilePanel::~MediaFilePanel()
|
||||||
|
|
||||||
wxString hide_id_middle_string(wxString const &str, size_t offset = 0, size_t length = -1);
|
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 : "";
|
std::string machine = obj ? obj->dev_id : "";
|
||||||
if (obj) {
|
if (obj) {
|
||||||
|
|
|
@ -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)
|
void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int result)
|
||||||
{
|
{
|
||||||
if (m_session.tunnel) {
|
if (m_session.tunnel) {
|
||||||
|
@ -1261,7 +1257,7 @@ void PrinterFileSystem::Reconnect(boost::unique_lock<boost::mutex> &l, int resul
|
||||||
if (m_last_error == 0)
|
if (m_last_error == 0)
|
||||||
m_stopped = true;
|
m_stopped = true;
|
||||||
} else {
|
} 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();
|
l.unlock();
|
||||||
m_status = Status::Connecting;
|
m_status = Status::Connecting;
|
||||||
wxLogMessage("PrinterFileSystem::Reconnect Connecting");
|
wxLogMessage("PrinterFileSystem::Reconnect Connecting");
|
||||||
|
|
Loading…
Reference in New Issue