diff --git a/src/slic3r/GUI/Plater.cpp b/src/slic3r/GUI/Plater.cpp index 6f46fbeff9..6428d299dc 100644 --- a/src/slic3r/GUI/Plater.cpp +++ b/src/slic3r/GUI/Plater.cpp @@ -5932,7 +5932,6 @@ void Plater::connect_gcode() upload_job.upload_data.position = position; upload_job.upload_data.wait_until = wait_until; upload_job.upload_data.upload_path = boost::filesystem::path(filename); - upload_job.upload_data.connect_path = filename; p->export_gcode(fs::path(), false, std::move(upload_job)); diff --git a/src/slic3r/Utils/PrintHost.hpp b/src/slic3r/Utils/PrintHost.hpp index 99fe6e671d..f7b3a5175c 100644 --- a/src/slic3r/Utils/PrintHost.hpp +++ b/src/slic3r/Utils/PrintHost.hpp @@ -45,7 +45,6 @@ struct PrintHostUpload std::string set_ready; std::string position; std::string wait_until; - std::string connect_path; }; class PrintHost diff --git a/src/slic3r/Utils/PrusaConnect.cpp b/src/slic3r/Utils/PrusaConnect.cpp index f64339b16a..19da1cb832 100644 --- a/src/slic3r/Utils/PrusaConnect.cpp +++ b/src/slic3r/Utils/PrusaConnect.cpp @@ -103,7 +103,7 @@ bool PrusaConnectNew::init_upload(PrintHostUpload upload_data, std::string& out) "}" , upload_filename , file_size - , upload_data.connect_path + , upload_data.upload_path.generic_string() , m_uuid );