VirtualBox

Ignore:
Timestamp:
Jul 11, 2013 3:16:32 PM (12 years ago)
Author:
vboxsync
Message:

FE/Qt: Using popup-center stuff for *paused VM input* and *mouse-integration* warnings.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime
Files:
2 edited

Legend:

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

    r45730 r47099  
    2727#include "VBoxGlobal.h"
    2828#include "UIMessageCenter.h"
     29#include "UIPopupCenter.h"
    2930#include "UIActionPool.h"
    3031#include "UIKeyboardHandlerNormal.h"
     
    914915                    /* Show a possible warning on key release which seems to be more expected by the end user: */
    915916                    if (uisession()->isPaused())
    916                         msgCenter().remindAboutPausedVMInput();
     917                        popupCenter().remindAboutPausedVMInput(machineLogic()->activeMachineWindow());
    917918                }
    918919                break;
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMouseHandler.cpp

    r46020 r47099  
    2525#include "VBoxGlobal.h"
    2626#include "UIMessageCenter.h"
     27#include "UIPopupCenter.h"
    2728#include "UIKeyboardHandler.h"
    2829#include "UIMouseHandler.h"
     
    360361        KMachineState state = uisession()->machineState();
    361362        if (state != KMachineState_Restoring)
    362             msgCenter().remindAboutMouseIntegration(uisession()->isMouseSupportsAbsolute());
     363            popupCenter().remindAboutMouseIntegration(uisession()->machineLogic()->activeMachineWindow(),
     364                                                      uisession()->isMouseSupportsAbsolute());
    363365    }
    364366
     
    844846                if (uisession()->isPaused())
    845847                {
    846                     msgCenter().remindAboutPausedVMInput();
     848                    popupCenter().remindAboutPausedVMInput(machineLogic()->activeMachineWindow());
    847849                }
    848850                else if (uisession()->isRunning())
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