diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-01-07 16:17:09 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-01-07 16:17:09 +0300 |
commit | 2ad4447035548378860ad45d4c649ce5ad06ad50 (patch) | |
tree | 002d20cc293bd9912d8421c1c3a38d8069ee6776 | |
parent | 4988b93b8df5db537267edb6cd3f3e65a458b184 (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.cpp | 3 |
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"; |