mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 01:52:11 +00:00
ENH:auto switch to using local broker for data transmission
jira:[STUDIO-11616] Change-Id: I91066a629684dcff4efc73f310c2e0a7843954f4 (cherry picked from commit ac805e7d9150f56d40ec261fd2ed4007e1413b8e)
This commit is contained in:
@@ -2351,9 +2351,9 @@ void SelectMachineDialog::connect_printer_mqtt()
|
||||
m_status_bar->disable_cancel_button();
|
||||
m_status_bar->set_status_text(_L("Connecting to the printer. Unable to cancel during the connection process."));
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
obj_->connect(false, wxGetApp().app_config->get("enable_ssl_for_mqtt") == "true" ? true : false);
|
||||
obj_->connect(wxGetApp().app_config->get("enable_ssl_for_mqtt") == "true" ? true : false);
|
||||
#else
|
||||
obj_->connect(false, obj_->local_use_ssl_for_mqtt);
|
||||
obj_->connect(obj_->local_use_ssl_for_mqtt);
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user