VirtualBox

Changeset 89816 in vbox for trunk


Ignore:
Timestamp:
Jun 21, 2021 12:22:16 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145273
Message:

FE/Qt: bugref:3355. build fix

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

Legend:

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

    r89815 r89816  
    886886UIMachineLogic::~UIMachineLogic()
    887887{
     888#if defined(VBOX_WS_X11)
    888889    qDeleteAll(m_methods.begin(), m_methods.end());
    889890    m_methods.clear();
     891#endif
    890892}
    891893
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.h

    r89815 r89816  
    5353class CUSBDevice;
    5454class CVirtualBoxErrorInfo;
    55 struct X11ScreenSaverInhibitMethod;
     55#if defined(VBOX_WS_X11)
     56 struct X11ScreenSaverInhibitMethod;
     57#endif
    5658
    5759#ifdef VBOX_WITH_DEBUGGER_GUI
     
    466468    /* Holds the cookies returnd by QDBus inhibition calls. Map keys are service name. These are required during uninhibition.*/
    467469    QMap<QString, uint> m_screenSaverInhibitionCookies;
     470#if defined(VBOX_WS_X11)
    468471    QVector<X11ScreenSaverInhibitMethod*> m_methods;
     472#endif
    469473    /* Friend classes: */
    470474    friend class UIMachineWindow;
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