Changeset 12118
- Timestamp:
- 09/05/08 10:18:54 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/VBox/Frontends/VirtualBox4/src/QIMessageBox.cpp
r12097 r12118 57 57 * normal window in that case. */ 58 58 VBoxConsoleWnd *cwnd = qobject_cast<VBoxConsoleWnd*> (aParent); 59 if (cwnd != NULL &&60 !cwnd->isTrueFullscreen() &&61 !cwnd->isTrueSeamless())59 if (cwnd == NULL || 60 (!cwnd->isTrueFullscreen() && 61 !cwnd->isTrueSeamless())) 62 62 setWindowFlags (windowFlags() | Qt::Sheet); 63 63 #endif /* Q_WS_MAC */ trunk/src/VBox/Frontends/VirtualBox4/src/VBoxCloseVMDlg.cpp
r12097 r12118 37 37 * normal window in that case. */ 38 38 VBoxConsoleWnd *cwnd = qobject_cast<VBoxConsoleWnd*> (aParent); 39 if (cwnd != NULL &&40 !cwnd->isTrueFullscreen() &&41 !cwnd->isTrueSeamless())39 if (cwnd == NULL || 40 (!cwnd->isTrueFullscreen() && 41 !cwnd->isTrueSeamless())) 42 42 setWindowFlags (Qt::Sheet); 43 43 #endif /* Q_WS_MAC */

