aboutsummaryrefslogtreecommitdiff
path: root/ui/cocoa.m
diff options
context:
space:
mode:
authorRoman Bolshakov <r.bolshakov@yadro.com>2021-01-09 00:38:15 +0300
committerPeter Maydell <peter.maydell@linaro.org>2021-01-12 10:19:20 +0000
commit8d6fda8c1072fbed2d030c34a5233f17913a3ba9 (patch)
tree8230a502bb517bd6b1f8fe229dd7f7da6fa783fa /ui/cocoa.m
parentbd78b6be24f3ceb71f1a7ec2c98c7a5e49cb4a86 (diff)
downloadqemu-8d6fda8c1072fbed2d030c34a5233f17913a3ba9.zip
qemu-8d6fda8c1072fbed2d030c34a5233f17913a3ba9.tar.gz
qemu-8d6fda8c1072fbed2d030c34a5233f17913a3ba9.tar.bz2
ui/cocoa: Update path to docs in build tree
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>
Diffstat (limited to 'ui/cocoa.m')
-rw-r--r--ui/cocoa.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cocoa.m b/ui/cocoa.m
index f32adc3..e913a51 100644
--- a/ui/cocoa.m
+++ b/ui/cocoa.m
@@ -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 */