]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ui/cocoa: Update path to docs in build tree
authorRoman Bolshakov <r.bolshakov@yadro.com>
Fri, 8 Jan 2021 21:38:15 +0000 (00:38 +0300)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 Jan 2021 10:19:20 +0000 (10:19 +0000)
QEMU documentation can't be opened if QEMU is run from build tree
because executables are placed in the top of build tree after conversion
to meson.

Signed-off-by: Roman Bolshakov <r.bolshakov@yadro.com>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210108213815.64678-1-r.bolshakov@yadro.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
ui/cocoa.m

index f32adc3074f5abef7cf80b620194f2b60aafdcd8..e913a514455e2c3f7b94f05e009a1edf1d0801d9 100644 (file)
@@ -1176,7 +1176,7 @@ QemuCocoaView *cocoaView;
 - (void) openDocumentation: (NSString *) filename
 {
     /* Where to look for local files */
-    NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/", @"../docs/"};
+    NSString *path_array[] = {@"../share/doc/qemu/", @"../doc/qemu/", @"docs/"};
     NSString *full_file_path;
 
     /* iterate thru the possible paths until the file is found */