From 896fc6fbb72c6a30bcf87a6b42cfb83d5a219d3a Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Wed, 21 Feb 2024 11:40:05 -0500 Subject: [PATCH] Save the window size for the user and reuse next load. Signed-off-by: Adam Treat --- gpt4all-chat/main.qml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gpt4all-chat/main.qml b/gpt4all-chat/main.qml index b3392fbd..7bacb6cb 100644 --- a/gpt4all-chat/main.qml +++ b/gpt4all-chat/main.qml @@ -21,6 +21,14 @@ Window { visible: true title: qsTr("GPT4All v") + Qt.application.version + + Settings { + property alias x: window.x + property alias y: window.y + property alias width: window.width + property alias height: window.height + } + Theme { id: theme }