VirtualBox

Changeset 50302 in vbox for trunk


Ignore:
Timestamp:
Jan 31, 2014 1:55:49 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
91977
Message:

GUI: HID LEDs sync: add log message on VM startup regarding to if feature enabled, disabled or not supported on a certain platform.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r50191 r50302  
    9898    virtual void notifyAbout3DOverlayVisibilityChange(bool fVisible);
    9999
     100    /** Performs HID LEDs sync. */
     101    bool isHidLedsSyncEnabled();
     102
    100103protected slots:
    101104
     
    133136    void addMachineWindow(UIMachineWindow *pMachineWindow);
    134137    void retranslateUi();
    135     bool isHidLedsSyncEnabled();
    136138#ifdef Q_WS_MAC
    137139    bool isDockIconPreviewEnabled() const { return m_fIsDockIconEnabled; }
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp

    r50165 r50302  
    350350#endif
    351351
     352/* Check if HID LEDs sync is enabled and add a log message about it. */
     353#if defined(Q_WS_MAC) || defined(Q_WS_WIN)
     354    if(uimachine()->machineLogic()->isHidLedsSyncEnabled())
     355        LogRel(("HID LEDs sync is enabled.\n"));
     356    else
     357        LogRel(("HID LEDs sync is disabled.\n"));
     358#else
     359    LogRel(("HID LEDs sync is not supported on this platform.\n"));
     360#endif
     361
    352362#ifdef VBOX_GUI_WITH_PIDFILE
    353363    vboxGlobal().createPidfile();
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