From 22d78ad9f9bb95c232e487cb753c5e655fe02be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ce=CC=81dric=20Foellmi?= Date: Sat, 11 Apr 2015 09:17:07 +0200 Subject: [PATCH] Fixed URL of config app --- QLFits3/GeneratePreviewForURL.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QLFits3/GeneratePreviewForURL.m b/QLFits3/GeneratePreviewForURL.m index 3c448ae..98a0152 100644 --- a/QLFits3/GeneratePreviewForURL.m +++ b/QLFits3/GeneratePreviewForURL.m @@ -25,7 +25,7 @@ OSStatus GeneratePreviewForURL(void *thisInterface, QLPreviewRequestRef preview, // This NEVER works in debug??? NSBundle *bundle = [NSBundle bundleWithIdentifier:@"com.onekiloparsec.QLFits3"]; - NSURL *urlConfig = [NSURL fileURLWithPath:[[bundle bundlePath] stringByAppendingPathComponent:@"QLFitsConfig.app"]]; + NSURL *urlConfig = [NSURL fileURLWithPath:[[bundle bundlePath] stringByAppendingPathComponent:@"Contents/Helpers/QLFitsConfig.app"]]; LSRegisterURL((__bridge CFURLRef) urlConfig, false); @autoreleasepool {