VirtualBox

Changeset 49267 in vbox for trunk


Ignore:
Timestamp:
Oct 23, 2013 6:57:04 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: only mention wrong BPP settings if the Guest Additions are loaded.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

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

    r48534 r49267  
    479479{
    480480    alert(pParent, "remindAboutWrongColorDepth",
    481           QApplication::translate("UIMessageCenter", "<p>The virtual machine window is optimized to work in <b>%1&nbsp;bit</b> color mode "
    482                                                      "but the virtual display is currently set to <b>%2&nbsp;bit</b>.</p>"
    483                                                      "<p>Please open the display properties dialog of the guest OS and select a <b>%3&nbsp;bit</b> color mode, "
    484                                                      "if it is available, for best possible performance of the virtual video subsystem.</p>"
    485                                                      "<p><b>Note</b>. Some operating systems, like OS/2, may actually work in 32&nbsp;bit mode "
    486                                                      "but report it as 24&nbsp;bit (16 million colors). You may try to select a different color "
    487                                                      "mode to see if this message disappears or you can simply disable the message now "
    488                                                      "if you are sure the required color mode (%4&nbsp;bit) is not available in the guest OS.</p>")
    489                                                      .arg(uWantedBPP).arg(uRealBPP).arg(uWantedBPP).arg(uWantedBPP),
     481          QApplication::translate("UIMessageCenter", "<p>The virtual screen is currently set to a <b>%1&nbsp;bit</b> color mode. For better "
     482                                                     "performance please change this to <b>%2&nbsp;bit</b>. This can usually be done from the"
     483                                                     " <b>Display</b> section of the guest operating system's Control Panel or System Settings.</p>")
     484                                                     .arg(uRealBPP).arg(uWantedBPP),
    490485          true);
    491486}
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp

    r48705 r49267  
    140140
    141141    /* Remind if requested: */
    142     if (bRemind)
     142    if (bRemind && m_pMachineView->uisession()->isGuestAdditionsActive())
    143143        popupCenter().remindAboutWrongColorDepth(m_pMachineView->machineWindow(),
    144144                                                      pEvent->bitsPerPixel(), 32);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp

    r49265 r49267  
    235235#endif
    236236
    237     if (remind)
     237    if (remind && m_pMachineView->uisession()->isGuestAdditionsActive())
    238238        popupCenter().remindAboutWrongColorDepth(m_pMachineView->machineWindow(),
    239239                                                      aEvent->bitsPerPixel(), 32);
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