mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-22 19:50:44 +00:00
fix sync request lead to question.
This commit is contained in:
@@ -4893,7 +4893,7 @@ void GUI_App::check_new_version_sf(bool show_tips, bool by_user)
|
||||
BOOST_LOG_TRIVIAL(fatal) << "request server soft update data error:" << errorMsg;
|
||||
}
|
||||
})
|
||||
.perform_sync();
|
||||
.perform();
|
||||
}
|
||||
void GUI_App::process_network_msg(std::string dev_id, std::string msg)
|
||||
{
|
||||
|
||||
@@ -710,7 +710,7 @@ bool PresetUpdater::priv::download_file(const std::string& url,
|
||||
res = true;
|
||||
})
|
||||
.timeout_max(timeout_sec)
|
||||
.perform_sync();
|
||||
.perform();
|
||||
|
||||
if (fs::exists(tmp_path)) {
|
||||
fs::remove(tmp_path);
|
||||
@@ -835,7 +835,7 @@ void PresetUpdater::priv::sync_update_flutter_resource(bool isAuto_check)
|
||||
BOOST_LOG_TRIVIAL(fatal) << "request server flutter update data error:" << errorMsg;
|
||||
}
|
||||
})
|
||||
.perform_sync();
|
||||
.perform();
|
||||
}
|
||||
// Orca: sync config update for currect App version
|
||||
void PresetUpdater::priv::sync_config(bool isAuto_check)
|
||||
@@ -954,7 +954,7 @@ void PresetUpdater::priv::sync_config(bool isAuto_check)
|
||||
BOOST_LOG_TRIVIAL(fatal) << "request server preset update data error:" << errorMsg;
|
||||
}
|
||||
})
|
||||
.perform_sync();
|
||||
.perform();
|
||||
}
|
||||
|
||||
void PresetUpdater::priv::sync_tooltip(std::string http_url, std::string language)
|
||||
|
||||
Reference in New Issue
Block a user