mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 10:02:12 +00:00
ENH:synchronize different codes
Change-Id: I011b39ee85eecbb9da99d1c4fe1f2875267acc32
This commit is contained in:
@@ -2379,7 +2379,6 @@ void SelectMachineDialog::connect_printer_mqtt()
|
||||
show_status(PrintDialogStatus::PrintStatusSending);
|
||||
m_status_bar->disable_cancel_button();
|
||||
m_status_bar->set_status_text("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);
|
||||
#else
|
||||
@@ -2500,7 +2499,6 @@ void SelectMachineDialog::on_send_print()
|
||||
m_print_job->m_dev_ip = obj_->dev_ip;
|
||||
m_print_job->m_ftp_folder = obj_->get_ftp_folder();
|
||||
m_print_job->m_access_code = obj_->get_access_code();
|
||||
|
||||
#if !BBL_RELEASE_TO_PUBLIC
|
||||
m_print_job->m_local_use_ssl_for_ftp = wxGetApp().app_config->get("enable_ssl_for_mqtt") == "true" ? true : false;
|
||||
m_print_job->m_local_use_ssl_for_mqtt = wxGetApp().app_config->get("enable_ssl_for_ftp") == "true" ? true : false;
|
||||
|
||||
Reference in New Issue
Block a user