QmlDesigner: Fix bindingeditor on macOS

Without this the dialogs do not stay on top of the application.

Change-Id: I0b0ee06cad04ed1c8fba8dceebfbe1f93f6559cb
Reviewed-by: Aleksei German <aleksei.german@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Thomas Hartmann
2019-11-28 11:03:37 +01:00
parent 89a02029b8
commit 4076b6a482

View File

@@ -45,6 +45,7 @@ BindingEditorDialog::BindingEditorDialog(QWidget *parent)
: QDialog(parent)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
setWindowFlag(Qt::Tool, true);
setWindowTitle(defaultTitle());
setModal(false);