PrusaSlicer/PrusaSlicer-2.6.0-octoprint-name-fix.patch
Hans-Peter Jansen 026c85725f - Update to 2.8.0
* Prusa Connect integration
  * seam improvements
  * updated UI
  * new G-code Viewer
  * improved profile updating system
  * many more improvements and bugfixes
- Must move to wxGTK3: we have no wxWebView in wxWidgets. Unfortunately
  this disables wayland support:
  https://github.com/prusa3d/PrusaSlicer/blob/version_2.8.0/src/PrusaSlicer.cpp#L88-L93
- Add PrusaSlicer-2.8.0-includes.patch gh#prusa3d/PrusaSlicer#13080

OBS-URL: https://build.opensuse.org/package/show/science/PrusaSlicer?expand=0&rev=78
2024-08-30 14:38:28 +00:00

14 lines
901 B
Diff

Index: PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
===================================================================
--- PrusaSlicer-version_2.6.1.orig/src/slic3r/Utils/OctoPrint.cpp
+++ PrusaSlicer-version_2.6.1/src/slic3r/Utils/OctoPrint.cpp
@@ -751,7 +751,7 @@ bool PrusaLink::get_storage(wxArrayStrin
if (path && (!available || *available)) {
StorageInfo si;
si.path = boost::nowide::widen(*path);
- si.name = name ? boost::nowide::widen(*name) : wxString();
+ si.name = name ? wxString(boost::nowide::widen(*name)) : wxString();
// If read_only is missing, assume it is NOT read only.
// si.read_only = read_only ? *read_only : false; // version without "ro"
si.read_only = (read_only ? *read_only : (ro ? *ro : false));