fix: orphan FramelessDraggables too (#5576)
This commit is contained in:
@@ -505,7 +505,7 @@ bool BaseWindow::event(QEvent *event)
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 7, 0)
|
||||
if (this->flags_.has(DontFocus) || this->flags_.has(Dialog))
|
||||
if (this->flags_.hasAny(DontFocus, Dialog, FramelessDraggable))
|
||||
{
|
||||
// This certain windows (e.g. TooltipWidget, input completion widget, and the search popup) retains their nullptr parent
|
||||
// NOTE that this currently does not retain their original transient parent (which is the window it was created under)
|
||||
|
||||
Reference in New Issue
Block a user