Changeset 8981 in vbox
- Timestamp:
- May 20, 2008 7:59:52 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 31055
- Location:
- trunk/src/VBox/Frontends
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r8973 r8981 667 667 668 668 /** 669 * @param strict if |true| then show the message even if there is no basic670 * error info available669 * @param strict If |false|, this method will silently return if the COM 670 * result code is E_NOTIMPL. 671 671 */ 672 672 void VBoxProblemReporter::cannotLoadMachineSettings (const CMachine &machine, … … 674 674 QWidget *parent /* = 0 */) 675 675 { 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. */ 676 679 COMResult res (machine); 677 if (!strict && !res.errorInfo().isBasicAvailable())680 if (!strict && res.rc() == E_NOTIMPL) 678 681 return; 679 682 -
trunk/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp
r8978 r8981 675 675 676 676 /** 677 * @param strict if |true| then show the message even if there is no basic678 * error info available677 * @param strict If |false|, this method will silently return if the COM 678 * result code is E_NOTIMPL. 679 679 */ 680 680 void VBoxProblemReporter::cannotLoadMachineSettings (const CMachine &machine, … … 682 682 QWidget *parent /* = 0 */) 683 683 { 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. */ 684 687 COMResult res (machine); 685 if (!strict && !res.errorInfo().isBasicAvailable())688 if (!strict && res.rc() == E_NOTIMPL) 686 689 return; 687 690
Note:
See TracChangeset
for help on using the changeset viewer.