mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
ENH:synchronize different codes
Change-Id: I011b39ee85eecbb9da99d1c4fe1f2875267acc32
This commit is contained in:
parent
f97261bca9
commit
2d8ddca1d6
12 changed files with 50 additions and 41 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue