Fix automatic hiding/restoring of transient children.
Task-number: QTBUG-28408 Change-Id: I31382c4edc213961dfb132af3bf5202e178e7a57 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
a243251091
commit
42507173bd
@ -854,10 +854,10 @@ bool QWindowsContext::windowsProc(HWND hwnd, UINT message,
|
||||
return true;
|
||||
case QtWindows::ShowEvent:
|
||||
platformWindow->handleShown();
|
||||
return true;
|
||||
return false; // Indicate transient children should be shown by windows (SW_PARENTOPENING)
|
||||
case QtWindows::HideEvent:
|
||||
platformWindow->handleHidden();
|
||||
return true;
|
||||
return false;// Indicate transient children should be hidden by windows (SW_PARENTCLOSING)
|
||||
case QtWindows::CloseEvent:
|
||||
QWindowSystemInterface::handleCloseEvent(platformWindow->window());
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user