aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmldesigner/components/timelineeditor
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2019-11-27 17:48:06 +0100
committerThomas Hartmann <thomas.hartmann@qt.io>2019-11-28 13:11:38 +0000
commit73ef408faf65d80eaf09923bcf49f664a2edf616 (patch)
tree5bde7ae86c23ac78cd49c1bfa6edb87c2083e6b0 /src/plugins/qmldesigner/components/timelineeditor
parent8da62f939226fd9c563f1b32fe1a08db8b296585 (diff)
QmlDesigner: Fix modal dialogs on macOS
Without this the dialogs do not stay on top of the application. Change-Id: Ic618d9c03850301af85a215dcd15a31848f9b99a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/timelineeditor')
-rw-r--r--src/plugins/qmldesigner/components/timelineeditor/easingcurvedialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/qmldesigner/components/timelineeditor/easingcurvedialog.cpp b/src/plugins/qmldesigner/components/timelineeditor/easingcurvedialog.cpp
index a069dc187b..938cc0dce1 100644
--- a/src/plugins/qmldesigner/components/timelineeditor/easingcurvedialog.cpp
+++ b/src/plugins/qmldesigner/components/timelineeditor/easingcurvedialog.cpp
@@ -62,6 +62,7 @@ EasingCurveDialog::EasingCurveDialog(const QList<ModelNode> &frames, QWidget *pa
, m_frames(frames)
{
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
+ setWindowFlag(Qt::Tool, true);
auto tw = new QTabWidget;
tw->setTabPosition(QTabWidget::East);