VirtualBox

Changeset 70856 in vbox


Ignore:
Timestamp:
Feb 2, 2018 3:20:39 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8694: Runtime UI: Make Unscaled HiDPI Output mode default on Windows/Linux for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp

    r70113 r70856  
    37243724bool UIExtraDataManager::useUnscaledHiDPIOutput(const QString &strID)
    37253725{
     3726#ifdef VBOX_WS_MAC
    37263727    /* 'False' unless feature allowed: */
    37273728    return isFeatureAllowed(GUI_HiDPI_UnscaledOutput, strID);
     3729#else
     3730    /* 'True' unless feature restricted: */
     3731    return !isFeatureRestricted(GUI_HiDPI_UnscaledOutput, strID);
     3732#endif
    37283733}
    37293734
    37303735void UIExtraDataManager::setUseUnscaledHiDPIOutput(bool fUseUnscaledHiDPIOutput, const QString &strID)
    37313736{
     3737#ifdef VBOX_WS_MAC
    37323738    /* '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
    37343744}
    37353745
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