Changeset 71109 in vbox
- Timestamp:
- Feb 22, 2018 5:00:46 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIActionPoolRuntime.cpp
r71107 r71109 2836 2836 { 2837 2837 pAction->setProperty("Requested Scale Factor", dScaleFactor); 2838 pAction->setText(QApplication::translate("UIActionPool", "Scale to %1% (unscaled output)", "scale-factor") 2839 .arg(dScaleFactor * 100)); 2838 if (dDevicePixelRatioActual == 1.0) 2839 pAction->setText(QApplication::translate("UIActionPool", "Scale to %1%", "scale-factor") 2840 .arg(dScaleFactor * 100)); 2841 else 2842 pAction->setText(QApplication::translate("UIActionPool", "Scale to %1% (unscaled output)", "scale-factor") 2843 .arg(dScaleFactor * 100)); 2840 2844 } 2841 2845 /* For the 'autoscaled' action: */ 2842 else if ((dScaleFactor >= dDevicePixelRatioActual) && !fDevicePixelRatioMentioned) 2846 else if ( (dScaleFactor >= dDevicePixelRatioActual) 2847 && (dDevicePixelRatioActual != 1.0) 2848 && !fDevicePixelRatioMentioned) 2843 2849 { 2844 2850 pAction->setProperty("Requested Scale Factor", dDevicePixelRatioActual);
Note:
See TracChangeset
for help on using the changeset viewer.