Skip to content

Commit

Permalink
Merge branch 'issue_2990'
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Dec 22, 2023
2 parents 9422d63 + 032f410 commit 63e8b4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Quicksilver/Code-QuickStepCore/QSLibrarian.m
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ - (NSArray *)scoredArrayForType:(NSString *)string
}

- (NSDictionary *)typeArraysFromArray:(NSArray *)array {
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:1];
QSThreadSafeMutableDictionary *dict = [[QSThreadSafeMutableDictionary alloc] initWithCapacity:1];
NSMutableArray *typeEntry;
for(QSObject *object in array) {
NSDictionary *data = [[object dataDictionary] copy];
Expand Down
2 changes: 1 addition & 1 deletion Quicksilver/Code-QuickStepCore/QSProcessMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ - (void)reloadProcesses {
#endif

NSArray *tempProcesses = [[NSWorkspace sharedWorkspace] runningApplications];
NSMutableDictionary *procs = [[NSMutableDictionary alloc] initWithCapacity:tempProcesses.count];
QSThreadSafeMutableDictionary *procs = [[QSThreadSafeMutableDictionary alloc] initWithCapacity:tempProcesses.count];
for (NSRunningApplication *app in tempProcesses) {
NSDictionary *info = [self infoForApp:app];
QSObject *procObject = [self imbuedFileProcessForDict:info];
Expand Down

0 comments on commit 63e8b4e

Please sign in to comment.