Ignore:
Timestamp:
Sep 6, 2012, 1:15:31 AM (10 years ago)
Author:
livings124
Message:

ensure that NSApp is loaded for the QuickLook? plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/QuickLookPlugin/GeneratePreviewForURL.m

    r13458 r13467  
    3737    if (QLPreviewRequestIsCancelled(preview))
    3838        return noErr;
     39   
     40    //we need this call to ensure NSApp is initialized (not done automatically for plugins)
     41    [NSApplication sharedApplication];
    3942   
    4043    //try to parse the torrent file
Note: See TracChangeset for help on using the changeset viewer.