Changeset 27242 in vbox
- Timestamp:
- Mar 10, 2010 11:30:34 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp
r27096 r27242 277 277 if (vboxGlobal().isVMConsoleProcess()) 278 278 { 279 if (vboxGlobal().vmWindow() ->isVisible()) /* VM window is visible */279 if (vboxGlobal().vmWindow() && vboxGlobal().vmWindow()->isVisible()) /* VM window is visible */ 280 280 return vboxGlobal().vmWindow(); /* return that window */ 281 281 } 282 282 else 283 283 { 284 if (vboxGlobal(). selectorWnd().isVisible()) /* VM selector is visible */284 if (vboxGlobal().vmWindow() && vboxGlobal().selectorWnd().isVisible()) /* VM selector is visible */ 285 285 return &vboxGlobal().selectorWnd(); /* return that window */ 286 286 } 287 287 #else 288 if (vboxGlobal().vmWindow() .isVisible()) /* VM window is visible */288 if (vboxGlobal().vmWindow() && vboxGlobal().vmWindow().isVisible()) /* VM window is visible */ 289 289 return &vboxGlobal().vmWindow(); /* return that window */ 290 if (vboxGlobal(). selectorWnd().isVisible()) /* VM selector is visible */290 if (vboxGlobal().vmWindow() && vboxGlobal().selectorWnd().isVisible()) /* VM selector is visible */ 291 291 return &vboxGlobal().selectorWnd(); /* return that window */ 292 292 #endif … … 306 306 return 0; 307 307 308 if (vboxGlobal().vmWindow() ->isVisible()) /* VM window is visible */308 if (vboxGlobal().vmWindow() && vboxGlobal().vmWindow()->isVisible()) /* VM window is visible */ 309 309 return vboxGlobal().vmWindow(); /* return that window */ 310 310
Note:
See TracChangeset
for help on using the changeset viewer.