Changeset 85037 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jul 1, 2020 6:06:19 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r85036 r85037 849 849 LogRelFlow(("UIChooserAbstractModel: Loading cloud providers/profiles...\n")); 850 850 851 /* Acquire Cloud Profile Manager restrictions: */ 852 const QStringList restrictions = gEDataManager->cloudProfileManagerRestrictions(); 853 851 854 /* Iterate through existing providers: */ 852 855 foreach (CCloudProvider comCloudProvider, listCloudProviders()) … … 859 862 QString strProviderShortName; 860 863 if (!cloudProviderShortName(comCloudProvider, strProviderShortName)) 864 continue; 865 866 /* Make sure this provider isn't restricted: */ 867 const QString strProviderPath = QString("/%1").arg(strProviderShortName); 868 if (restrictions.contains(strProviderPath)) 861 869 continue; 862 870 … … 888 896 QString strProfileName; 889 897 if (!cloudProfileName(comCloudProfile, strProfileName)) 898 continue; 899 900 /* Make sure this profile isn't restricted: */ 901 const QString strProfilePath = QString("/%1/%2").arg(strProviderShortName, strProfileName); 902 if (restrictions.contains(strProfilePath)) 890 903 continue; 891 904
Note:
See TracChangeset
for help on using the changeset viewer.