From c3faf903ca0c96adf88e4b9304b3657124e366a1 Mon Sep 17 00:00:00 2001 From: Ian Chua Date: Wed, 16 Sep 2026 14:24:40 +0800 Subject: [PATCH] fix: use ORCA_CLOUD_PROVIDER instead of hardcoded string --- src/slic3r/GUI/DeviceCore/DevManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/slic3r/GUI/DeviceCore/DevManager.cpp b/src/slic3r/GUI/DeviceCore/DevManager.cpp index 2e3164d7c1..6b06c56427 100644 --- a/src/slic3r/GUI/DeviceCore/DevManager.cpp +++ b/src/slic3r/GUI/DeviceCore/DevManager.cpp @@ -3,6 +3,7 @@ #include #include "DevManager.h" +#include "CloudProvider.hpp" #include "DevUtil.h" // TODO: remove this include @@ -911,7 +912,7 @@ namespace Slic3r // Orca cloud printers are only ever delivered through this REST // account list; tag them so DeviceManager's cloud/lan branches // (subscribe + deselect in set_selected_machine) treat them right. - if (provider == "orca") + if (provider == ORCA_CLOUD_PROVIDER) obj->dev_connection_type = "cloud"; if (!elem["dev_id"].is_null())