macos eject

This commit is contained in:
Slic3rPE 2019-12-11 17:39:34 +01:00
parent 7602cde289
commit a03ce255d6

View File

@ -222,14 +222,16 @@ INT_PTR WINAPI WinProcCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
void RemovableDriveManager::search_for_drives()
{
m_current_drives.clear();
m_current_drives.reserve(26);
#if __APPLE__
if(m_rdmmm)
{
m_rdmmm->list_devices();
}
#else
m_current_drives.clear();
m_current_drives.reserve(26);
//search /media/* folder
search_path("/media/*", "/media");