ENH:fet the correct Agora status

jira:[none]

Change-Id: Ic779e41f0b652212aa8e4ce016cfe1ef2aba3608
(cherry picked from commit 1c1b366d0035298b387fbeb3a7ee69ef4afb8e2d)
This commit is contained in:
tao wang 2025-01-08 16:20:59 +08:00 committed by Noisyfox
parent b5a3e0e29c
commit 5cbb201469

View file

@ -1189,7 +1189,7 @@ void SendToPrinterDialog::update_show_status()
std::string dev_id = obj_->dev_ip;
if (m_file_sys) {
if (dev_id == m_device_select) {
if ((m_waiting_enable && IsEnabled()) || (m_waiting_support && obj_->file_remote))
if ((m_waiting_enable && IsEnabled()) || (m_waiting_support && obj_->get_file_remote()))
m_file_sys->Retry();
return;
}
@ -1656,7 +1656,7 @@ void SendToPrinterDialog::fetchUrl(boost::weak_ptr<PrinterFileSystem> wfs)
std::string dev_ver = obj->get_ota_version();
std::string dev_id = obj->dev_id;
int remote_proto = obj->file_remote;
int remote_proto = obj->get_file_remote();
if (!remote_proto) {
m_waiting_support = true;
fs->SetUrl("0");