VirtualBox

Ignore:
Timestamp:
May 20, 2008 7:59:52 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Don't show pseudo errors when accessing uavailable objects like VRDP Server in OSE (#2830).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp

    r8978 r8981  
    675675
    676676/**
    677  *  @param  strict  if |true| then show the message even if there is no basic
    678  *                  error info available
     677 * @param  strict  If |false|, this method will silently return if the COM
     678 *                 result code is E_NOTIMPL.
    679679 */
    680680void VBoxProblemReporter::cannotLoadMachineSettings (const CMachine &machine,
     
    682682                                                     QWidget *parent /* = 0 */)
    683683{
     684    /* If COM result code is E_NOTIMPL, it means the requested object or
     685     * function is intentionally missing (as in the OSE version). Don't show
     686     * the error message in this case. */
    684687    COMResult res (machine);
    685     if (!strict && !res.errorInfo().isBasicAvailable())
     688    if (!strict && res.rc() == E_NOTIMPL)
    686689        return;
    687690
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