diff options
author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2022-02-15 09:03:04 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2022-02-21 09:12:18 +0000 |
commit | f776bb4643f1809cac84e2a0b3a28136c1dbf073 (patch) | |
tree | 4c82c9fb24b5f40ea5f487e932b1a318a245646b | |
parent | 260ab38877a521726a16ff6e7f433f4521259c6a (diff) |
ui/cocoa: Do not alert even without block devices
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-id: 20220215080307.69550-13-f4bug@amsat.org
Message-Id: <20220213021418.2155-1-akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | ui/cocoa.m | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m index 7a1ddd4075..f585a5c177 100644 --- a/ui/cocoa.m +++ b/ui/cocoa.m @@ -1709,11 +1709,6 @@ static void addRemovableDevicesMenuItems(void) currentDevice = qmp_query_block(NULL); pointerToFree = currentDevice; - if(currentDevice == NULL) { - NSBeep(); - QEMU_Alert(@"Failed to query for block devices!"); - return; - } menu = [[[NSApp mainMenu] itemWithTitle:@"Machine"] submenu]; |