Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-01-07 14:19:41 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-01-07 14:19:41 +0300
commit546fbe1e8e59f5038dc730def1f853166a3a4391 (patch)
tree50cc68ba116480e7f397c0e92490aa4fe359d006
parent961abd75e84ffaa419c3f595aff249d0550e622b (diff)
Fix of previous commit for OSX
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp
index 8cd39a689..cc6c78d8d 100644
--- a/src/slic3r/GUI/RemovableDriveManager.cpp
+++ b/src/slic3r/GUI/RemovableDriveManager.cpp
@@ -283,7 +283,7 @@ void RemovableDriveManager::eject_drive()
std::string correct_path(m_last_save_path);
#if __APPLE__
// On Apple, run the eject asynchronously on a worker thread, see the discussion at GH issue #4844.
- m_eject_thread = std::thread([this, correct_path, drive_data]()
+ m_eject_thread = new std::thread([this, correct_path, drive_data]()
#else
// Escape spaces on Unix systems. Why not on Apple?
boost::replace_all(correct_path, " ", "\\ ");