VirtualBox

Ignore:
Timestamp:
Feb 16, 2023 4:02:34 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155899
Message:

FE/Qt: bugref:10322: Runtime UI: Reworking CConsole wrapper usage step-by-step; Stuff related to ACPI shutdown.

File:
1 edited

Legend:

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

    r98605 r98607  
    5454
    5555/* COM includes: */
    56 #include "CConsole.h"
    5756#include "CGraphicsAdapter.h"
    5857#include "CSnapshot.h"
     
    227226}
    228227
    229 CConsole& UIMachineWindow::console() const
    230 {
    231     return uisession()->console();
    232 }
    233 
    234228QString UIMachineWindow::machineName() const
    235229{
     
    430424        /* Prepare close-dialog: */
    431425        QWidget *pParentDlg = windowManager().realParentWindow(this);
     426        bool fInACPIMode = false;
     427        uimachine()->acquireWhetherGuestEnteredACPIMode(fInACPIMode);
    432428        QPointer<UIVMCloseDialog> pCloseDlg = new UIVMCloseDialog(pParentDlg, machine(),
    433                                                                   console().GetGuestEnteredACPIMode(),
     429                                                                  fInACPIMode,
    434430                                                                  restrictedCloseActions);
    435431        /* Configure close-dialog: */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette