forked from qt-creator/qt-creator
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:
@@ -45,6 +45,7 @@ BindingEditorDialog::BindingEditorDialog(QWidget *parent)
|
|||||||
: QDialog(parent)
|
: QDialog(parent)
|
||||||
{
|
{
|
||||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||||
|
setWindowFlag(Qt::Tool, true);
|
||||||
setWindowTitle(defaultTitle());
|
setWindowTitle(defaultTitle());
|
||||||
setModal(false);
|
setModal(false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user