Skip to content

Commit

Permalink
Fixed URL of config app
Browse files Browse the repository at this point in the history
  • Loading branch information
onekiloparsec committed Apr 11, 2015
1 parent 7b53400 commit 22d78ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QLFits3/GeneratePreviewForURL.m
Expand Up @@ -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 {
Expand Down

0 comments on commit 22d78ad

Please sign in to comment.