Skip to content

Commit

Permalink
Don't hard code NSFilenamesPboardType
Browse files Browse the repository at this point in the history
  • Loading branch information
pjrobertson committed Sep 30, 2014
1 parent 579630c commit 8d8cbb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OnePasswordSource.m
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ - (BOOL)indexIsValidFromDate:(NSDate *)indexDate forEntry:(NSDictionary *)theEnt

- (BOOL)loadChildrenForObject:(QSObject *)object {
// For the children to 1Pwd, just load what's in objectsForEntry
if([[object primaryType] isEqualToString:NSFilenamesPboardType]) {
if([[object primaryType] isEqualToString:QSFilePathType]) {
NSArray *items = [self objectsForEntry:[NSDictionary dictionaryWithObject:[NSNumber numberWithBool:YES] forKey:@"LoadingChildren"]];
if (!items) {
return NO;
Expand Down

0 comments on commit 8d8cbb7

Please sign in to comment.