mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
macos eject
This commit is contained in:
parent
68125b12a7
commit
19789d78c2
1 changed files with 5 additions and 3 deletions
|
@ -221,15 +221,17 @@ INT_PTR WINAPI WinProcCallback(HWND hWnd, UINT message, WPARAM wParam, LPARAM lP
|
||||||
#else
|
#else
|
||||||
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…
Add table
Add a link
Reference in a new issue