VirtualBox

Changeset 47511 in vbox for trunk/src


Ignore:
Timestamp:
Aug 1, 2013 3:20:04 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Popup-center: Recall reminder about paused VM input if the issue is actual no more.

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

Legend:

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

    r47510 r47511  
    504504}
    505505
     506void UIPopupCenter::forgetAboutPausedVMInput(QWidget *pParent)
     507{
     508    recall(pParent, "remindAboutPausedVMInput");
     509}
     510
    506511void UIPopupCenter::remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP)
    507512{
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIPopupCenter.h

    r47510 r47511  
    104104    void remindAboutMouseIntegration(QWidget *pParent, bool fSupportsAbsolute);
    105105    void remindAboutPausedVMInput(QWidget *pParent);
     106    void forgetAboutPausedVMInput(QWidget *pParent);
    106107    void remindAboutWrongColorDepth(QWidget *pParent, ulong uRealBPP, ulong uWantedBPP);
    107108    void forgetAboutWrongColorDepth(QWidget *pParent);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp

    r47099 r47511  
    657657            break;
    658658    }
     659
     660    /* Recall reminder about paused VM input
     661     * if we are not in paused VM state already: */
     662    if (machineLogic()->activeMachineWindow() &&
     663        state != KMachineState_Paused &&
     664        state != KMachineState_TeleportingPausedVM)
     665        popupCenter().forgetAboutPausedVMInput(machineLogic()->activeMachineWindow());
    659666}
    660667
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r47396 r47511  
    308308    }
    309309
     310    /* Recall reminder about paused VM input
     311     * if we are not in paused VM state already: */
     312    if (machineLogic()->activeMachineWindow() &&
     313        state != KMachineState_Paused &&
     314        state != KMachineState_TeleportingPausedVM)
     315        popupCenter().forgetAboutPausedVMInput(machineLogic()->activeMachineWindow());
     316
     317    // TODO: Is it really required?
    310318    /* Notify all listeners: */
    311319    emit mouseStateChanged(mouseState());
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