diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-04 02:27:50 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-04 02:27:50 +0200 |
commit | 87e81498b73d59e8173953079ca5d0d73c5c302f (patch) | |
tree | 8950646036c5019a47f201b9ccae8056716fd048 /resources/qml/dialogs/InputDialog.qml | |
parent | Merge pull request #662 from LorenDB/qml-all-the-things (diff) | |
download | nheko-87e81498b73d59e8173953079ca5d0d73c5c302f.tar.xz |
Fix window placement on wayland and add close buttons
We explicitly set a parent. We can't assign to ApplicationWindow.transientParent though, only to Window.transientParent, so we just call setTransientParent in C++.
Diffstat (limited to 'resources/qml/dialogs/InputDialog.qml')
-rw-r--r-- | resources/qml/dialogs/InputDialog.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/resources/qml/dialogs/InputDialog.qml b/resources/qml/dialogs/InputDialog.qml index 134b78a3..e0f17851 100644 --- a/resources/qml/dialogs/InputDialog.qml +++ b/resources/qml/dialogs/InputDialog.qml @@ -16,6 +16,7 @@ ApplicationWindow { modality: Qt.NonModal flags: Qt.Dialog + Component.onCompleted: Nheko.reparent(inputDialog) width: 350 height: fontMetrics.lineSpacing * 7 |