A Dialog should not hide when the application is deactivated
To get this behavior, use Qt::Tool. Task-number: QTBUG-31133 Change-Id: I4811b5fe7e180a63bcdfe8018b35a56b370d9b61 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
This commit is contained in:
parent
d1ad5d6b46
commit
767342dd5d
@ -795,8 +795,10 @@ NSWindow * QCocoaWindow::createNSWindow()
|
||||
// before the window is shown and needs a proper window.).
|
||||
if ((type & Qt::Popup) == Qt::Popup)
|
||||
[window setHasShadow:YES];
|
||||
else
|
||||
else {
|
||||
setWindowShadow(flags);
|
||||
[window setHidesOnDeactivate: NO];
|
||||
}
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
|
||||
if (QSysInfo::QSysInfo::MacintoshVersion >= QSysInfo::MV_10_7) {
|
||||
|
Loading…
Reference in New Issue
Block a user