VirtualBox

Changeset 63586 in vbox


Ignore:
Timestamp:
Aug 18, 2016 2:28:25 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8552: Mac OS X: VMStarter: Using NSRunningApplication API instead of NSDictionary key-value pair.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/vmstarter.mm

    r63492 r63586  
    5656    NSArray *pApps = [pWS runningApplications];
    5757    bool fVBoxRuns = false;
    58     for (NSDictionary *pDict in pApps)
     58    for (NSRunningApplication *pApp in pApps)
    5959    {
    60         if ([[pDict valueForKey:@"NSApplicationBundleIdentifier"] isEqualToString:@"org.virtualbox.app.VirtualBox"])
     60        if ([pApp.bundleIdentifier isEqualToString:@"org.virtualbox.app.VirtualBox"])
    6161        {
    6262            fVBoxRuns = true;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette