SendSystemInfo: Use GET instead of ping to check internet connection

This commit is contained in:
Lukas Matena 2021-10-12 15:34:18 +02:00
parent 692a0dade7
commit 1afa18d719
3 changed files with 12 additions and 16 deletions

View file

@ -46,10 +46,6 @@ using Slic3r::GUI::Config::SnapshotDB;
namespace Slic3r {
enum {
SLIC3R_VERSION_BODY_MAX = 256,
};
static const char *INDEX_FILENAME = "index.idx";
static const char *TMP_EXTENSION = ".download";

View file

@ -13,6 +13,8 @@ class AppConfig;
class PresetBundle;
class Semver;
const int SLIC3R_VERSION_BODY_MAX = 256;
class PresetUpdater
{
public: