Skip to content

Commit

Permalink
Commented out another NSLog message
Browse files Browse the repository at this point in the history
  • Loading branch information
pjrobertson committed Jan 26, 2010
1 parent 7d3eb9b commit c1ef16d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@
@implementation NSApplication (Info)
- (BOOL)wasLaunchedAtLogin {
NSDictionary * parentProcessInfoDict = [NSApp parentProcessInformation];
/* removed to stop the console from cluttering up. If yo want to know this just remove the comment tags :)
26/01/2010 - pjrobertson
if (parentProcessInfoDict) {
NSLog(@"[Quicksilver %s]: parentProcessInfoDict = '%@'", __PRETTY_FUNCTION__, [parentProcessInfoDict descriptionInStringsFileFormat]);
}
*/
// !!! Andre Berg 20091017: some people like to start QS by means of launchd plist which can also keep it alive when it crashes
return ([(NSString *)([parentProcessInfoDict objectForKey:(id)kCFBundleIdentifierKey]) isEqualToString:@"com.apple.loginwindow"]
|| [(NSString *)([parentProcessInfoDict objectForKey:(id)kCFBundleExecutableKey]) isEqualToString:@"/sbin/launchd"]);
Expand Down

0 comments on commit c1ef16d

Please sign in to comment.