From 2ad4447035548378860ad45d4c649ce5ad06ad50 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 7 Jan 2021 14:17:09 +0100 Subject: [PATCH] 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. --- src/slic3r/GUI/RemovableDriveManager.cpp | 3 --- 1 file changed, 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";