VirtualBox

Changeset 53006 in vbox


Ignore:
Timestamp:
Oct 9, 2014 6:11:47 AM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: UIVMInfoDialog.cpp do not show the guest monitor number for single monitor

File:
1 edited

Legend:

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

    r52980 r53006  
    664664        {
    665665            QString strLabel(tr("Screen Resolution"));
    666             strLabel += QString(" %1").arg(iScreen + 1);
     666            /* The screen number makes sense only if there are multiple monitors in the guest: */
     667            if (cGuestScreens > 1)
     668                strLabel += QString(" %1").arg(iScreen + 1);
    667669            strResult += formatValue(strLabel, aResolutions[iScreen], iMaxLength);
    668670        }
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