Changeset 70856 in vbox
- Timestamp:
- Feb 2, 2018 3:20:39 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r70113 r70856 3724 3724 bool UIExtraDataManager::useUnscaledHiDPIOutput(const QString &strID) 3725 3725 { 3726 #ifdef VBOX_WS_MAC 3726 3727 /* 'False' unless feature allowed: */ 3727 3728 return isFeatureAllowed(GUI_HiDPI_UnscaledOutput, strID); 3729 #else 3730 /* 'True' unless feature restricted: */ 3731 return !isFeatureRestricted(GUI_HiDPI_UnscaledOutput, strID); 3732 #endif 3728 3733 } 3729 3734 3730 3735 void UIExtraDataManager::setUseUnscaledHiDPIOutput(bool fUseUnscaledHiDPIOutput, const QString &strID) 3731 3736 { 3737 #ifdef VBOX_WS_MAC 3732 3738 /* 'True' if feature allowed, null-string otherwise: */ 3733 return setExtraDataString(GUI_HiDPI_UnscaledOutput, toFeatureAllowed(fUseUnscaledHiDPIOutput), strID); 3739 setExtraDataString(GUI_HiDPI_UnscaledOutput, toFeatureAllowed(fUseUnscaledHiDPIOutput), strID); 3740 #else 3741 /* 'False' if feature restricted, null-string otherwise: */ 3742 setExtraDataString(GUI_HiDPI_UnscaledOutput, toFeatureRestricted(!fUseUnscaledHiDPIOutput), strID); 3743 #endif 3734 3744 } 3735 3745
Note:
See TracChangeset
for help on using the changeset viewer.