VirtualBox

Changeset 47210 in vbox


Ignore:
Timestamp:
Jul 17, 2013 12:11:10 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Popup-center: Withdraw invalid-bit-depth reminders in case of issue they are reflecting is obsolete already.

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

Legend:

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

    r47209 r47210  
    518518}
    519519
    520 void UIPopupCenter::remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP)
     520void UIPopupCenter::updatePopupAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP)
    521521{
    522522    alert(pParent, "remindAboutWrongColorDepth",
     
    533533}
    534534
     535void UIPopupCenter::recallPopupAboutWrongColorDepth(QWidget *pParent)
     536{
     537    recall(pParent, "remindAboutWrongColorDepth");
     538}
     539
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.h

    r47209 r47210  
    105105    void remindAboutPausedVMInput(QWidget *pParent);
    106106    void remindAboutGuestAdditionsAreNotActive(QWidget *pParent);
    107     void remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP);
     107    void updatePopupAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP);
     108    void recallPopupAboutWrongColorDepth(QWidget *pParent);
    108109
    109110private slots:
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp

    r47098 r47210  
    130130    /* Remind if requested: */
    131131    if (bRemind)
    132         popupCenter().remindAboutWrongColorDepth(m_pMachineView->machineWindow(),
    133                                                  pEvent->bitsPerPixel(), 32);
     132        popupCenter().updatePopupAboutWrongColorDepth(m_pMachineView->machineWindow(),
     133                                                      pEvent->bitsPerPixel(), 32);
     134    else
     135        popupCenter().recallPopupAboutWrongColorDepth(m_pMachineView->machineWindow());
    134136}
    135137
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQuartz2D.cpp

    r47098 r47210  
    211211
    212212    if (remind)
    213         popupCenter().remindAboutWrongColorDepth(m_pMachineView->machineWindow(),
    214                                                  aEvent->bitsPerPixel(), 32);
     213        popupCenter().updatePopupAboutWrongColorDepth(m_pMachineView->machineWindow(),
     214                                                      aEvent->bitsPerPixel(), 32);
     215    else
     216        popupCenter().recallPopupAboutWrongColorDepth(m_pMachineView->machineWindow());
    215217}
    216218
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