Cocoa: Remove ToolTip windows from popup stack
Match the cases for the adding logic. Change-Id: I61f49975b4cfcf2acf26b31b521cbc9b96f9d150 Task-number: QTBUG-46447 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>bb10
parent
4ee7bfaff4
commit
50cd28b31d
|
|
@ -749,7 +749,7 @@ void QCocoaWindow::setVisible(bool visible)
|
|||
monitor = nil;
|
||||
}
|
||||
|
||||
if (window()->type() == Qt::Popup)
|
||||
if (window()->type() == Qt::Popup || window()->type() == Qt::ToolTip)
|
||||
QCocoaIntegration::instance()->popupWindowStack()->removeAll(this);
|
||||
|
||||
if (parentCocoaWindow && window()->type() == Qt::Popup) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue