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()
|
||||
{
|
||||
|
||||
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");
|
||||
|
Loading…
Reference in New Issue
Block a user