VirtualBox

Changeset 52477 in vbox


Ignore:
Timestamp:
Aug 22, 2014 2:43:34 PM (10 years ago)
Author:
vboxsync
Message:

FE/Qt: Build fix for r95685.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp

    r52470 r52477  
    373373
    374374    /** Returns action extra-data ID. */
    375     virtual int extraDataID() const { return UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_LogDialog; }
     375    virtual int extraDataID() const
     376    {
     377#ifdef VBOX_WITH_DEBUGGER_GUI
     378        return UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_LogDialog;
     379#else /* !VBOX_WITH_DEBUGGER_GUI */
     380        return 0;
     381#endif /* !VBOX_WITH_DEBUGGER_GUI */
     382    }
    376383    /** Returns action extra-data key. */
    377     virtual QString extraDataKey() const { return gpConverter->toInternalString(UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_LogDialog); }
     384    virtual QString extraDataKey() const
     385    {
     386#ifdef VBOX_WITH_DEBUGGER_GUI
     387        return gpConverter->toInternalString(UIExtraDataMetaDefs::RuntimeMenuDebuggerActionType_LogDialog);
     388#else /* !VBOX_WITH_DEBUGGER_GUI */
     389        return QString();
     390#endif /* !VBOX_WITH_DEBUGGER_GUI */
     391    }
    378392
    379393    QString shortcutExtraDataID() const
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