VirtualBox

Changeset 75343 in vbox


Ignore:
Timestamp:
Nov 9, 2018 9:00:18 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
126473
Message:

FE/Qt: bugref:9255. Some more jugling with scale factors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIScaleFactorEditor.cpp

    r75340 r75343  
    7474    }
    7575    m_pMonitorComboBox->setEnabled(iMonitorCount > 1);
     76    /* If we have a single monitor select the "All Monitors" item in the combo
     77       but make sure we retain the scale factor of the 0th monitor: */
    7678    if (iMonitorCount <= 1)
     79    {
     80        if (m_scaleFactors.size() >= 2)
     81            m_scaleFactors[0] = m_scaleFactors[1];
    7782        m_pMonitorComboBox->setCurrentIndex(0);
     83    }
    7884    m_pMonitorComboBox->blockSignals(false);
    7985    /* Update the slider and spinbox values if the combobox index has changed: */
Note: See TracChangeset for help on using the changeset viewer.

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