mirror of
https://github.com/QIDITECH/QIDIStudio.git
synced 2026-02-03 02:18:41 +03:00
Updated to 1.9.5, and optimize calibration and device
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
|
||||
#include <curl/curl.h>
|
||||
|
||||
#include "../GUI/PrinterWebView.hpp"
|
||||
|
||||
#ifdef OPENSSL_CERT_OVERRIDE
|
||||
#include <openssl/x509.h>
|
||||
#endif
|
||||
@@ -232,6 +234,9 @@ int Http::priv::xfercb(void *userp, curl_off_t dltotal, curl_off_t dlnow, curl_o
|
||||
{
|
||||
auto self = static_cast<priv*>(userp);
|
||||
bool cb_cancel = false;
|
||||
//y36
|
||||
if (PrintHost::GetStop())
|
||||
cb_cancel = true;
|
||||
|
||||
if (self->progressfn) {
|
||||
double speed;
|
||||
|
||||
Reference in New Issue
Block a user