VirtualBox

Ignore:
Timestamp:
Jan 27, 2009 3:09:27 PM (16 years ago)
Author:
vboxsync
Message:

FE/Qt4: 3225: Disable ACPI actions if the guest did not enter (or exit already) ACPI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/include/VBoxConsoleWnd.h

    r15804 r16264  
    7474    void refreshView();
    7575
    76     bool isWindowMaximized() const 
    77     { 
     76    bool isWindowMaximized() const
     77    {
    7878#ifdef Q_WS_MAC
    7979        /* On Mac OS X we didn't really jump to the fullscreen mode but
     
    8383#else /* Q_WS_MAC */
    8484        return QMainWindow::isMaximized();
    85 #endif /* Q_WS_MAC */ 
     85#endif /* Q_WS_MAC */
    8686    }
    87     bool isWindowFullScreen() const 
    88     { 
     87    bool isWindowFullScreen() const
     88    {
    8989#ifdef Q_WS_MAC
    9090        /* On Mac OS X we didn't really jump to the fullscreen mode but
     
    9494#else /* Q_WS_MAC */
    9595        return QMainWindow::isFullScreen();
    96 #endif /* Q_WS_MAC */ 
     96#endif /* Q_WS_MAC */
    9797    }
    9898
     
    217217    void updateMediaDriveState (VBoxDefs::MediaType aType);
    218218    void updateSharedFoldersState();
     219    void updateACPIStatus();
    219220
    220221    void tryClose();
     
    326327    QString caption_prefix;
    327328
     329    QTimer *mACPITimer;
     330    bool mACPIEnabled : 1;
     331
    328332    bool no_auto_close : 1;
    329333
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