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/VirtualBox/src/VBoxProblemReporter.cpp

    r8973 r8981  
    667667
    668668/**
    669  *  @param  strict  if |true| then show the message even if there is no basic
    670  *                  error info available
     669 * @param  strict  If |false|, this method will silently return if the COM
     670 *                 result code is E_NOTIMPL.
    671671 */
    672672void VBoxProblemReporter::cannotLoadMachineSettings (const CMachine &machine,
     
    674674                                                     QWidget *parent /* = 0 */)
    675675{
     676    /* If COM result code is E_NOTIMPL, it means the requested object or
     677     * function is intentionally missing (as in the OSE version). Don't show
     678     * the error message in this case. */
    676679    COMResult res (machine);
    677     if (!strict && !res.errorInfo().isBasicAvailable())
     680    if (!strict && res.rc() == E_NOTIMPL)
    678681        return;
    679682
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