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 16:17:09 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-01-07 16:17:09 +0300
commit2ad4447035548378860ad45d4c649ce5ad06ad50 (patch)
tree002d20cc293bd9912d8421c1c3a38d8069ee6776
parent4988b93b8df5db537267edb6cd3f3e65a458b184 (diff)
Fix of Ejecting of device has failed on Ubuntu Linux #3975
Eject failed due to superfluous escaping of spaces in path to the SD card mount point.
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.cpp b/src/slic3r/GUI/RemovableDriveManager.cpp
index 3421654e0..b11cc8dd5 100644
--- a/src/slic3r/GUI/RemovableDriveManager.cpp
+++ b/src/slic3r/GUI/RemovableDriveManager.cpp
@@ -284,9 +284,6 @@ void RemovableDriveManager::eject_drive()
#if __APPLE__
// On Apple, run the eject asynchronously on a worker thread, see the discussion at GH issue #4844.
m_eject_thread = new boost::thread([this, correct_path, drive_data]()
-#else
- // Escape spaces on Unix systems. Why not on Apple?
- boost::replace_all(correct_path, " ", "\\ ");
#endif
{
//std::cout<<"Ejecting "<<(*it).name<<" from "<< correct_path<<"\n";