Changeset 2055 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Apr 12, 2007 4:28:13 PM (18 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r2045 r2055 639 639 #endif 640 640 641 Assert (valid); 642 641 643 if (!selector_wnd) 642 644 { … … 668 670 #endif 669 671 670 if ( !console_wnd ) 672 Assert (valid); 673 674 if (!console_wnd) 671 675 { 672 676 /* … … 1307 1311 bool VBoxGlobal::startMachine (const QUuid &id) 1308 1312 { 1309 Assert (valid); 1310 if (!valid) 1311 return false; 1313 AssertReturn (valid, false); 1312 1314 1313 1315 CSession session; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r2044 r2055 414 414 QWidget *VBoxProblemReporter::mainWindowShown() 415 415 { 416 /* It may happen that this method is called during VBoxGlobal 417 * initialization or even after it failed (for example, to show some 418 * error message). Return no main window in this case. */ 419 if (!vboxGlobal().isValid()) 420 return 0; 421 416 422 #if defined (VBOX_GUI_SEPARATE_VM_PROCESS) 417 423 if (vboxGlobal().isVMConsoleProcess())
Note:
See TracChangeset
for help on using the changeset viewer.