mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-22 00:54:27 +08:00
macos eject
This commit is contained in:
parent
7602cde289
commit
a03ce255d6
@ -222,14 +222,16 @@ INT_PTR WINAPI WinProcCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
|||||||
void RemovableDriveManager::search_for_drives()
|
void RemovableDriveManager::search_for_drives()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
m_current_drives.clear();
|
||||||
|
m_current_drives.reserve(26);
|
||||||
|
|
||||||
#if __APPLE__
|
#if __APPLE__
|
||||||
if(m_rdmmm)
|
if(m_rdmmm)
|
||||||
{
|
{
|
||||||
m_rdmmm->list_devices();
|
m_rdmmm->list_devices();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
m_current_drives.clear();
|
|
||||||
m_current_drives.reserve(26);
|
|
||||||
|
|
||||||
//search /media/* folder
|
//search /media/* folder
|
||||||
search_path("/media/*", "/media");
|
search_path("/media/*", "/media");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user