From 40edcbfd2e1b978d62b4b12f90c112694dfccc52 Mon Sep 17 00:00:00 2001
From: SineStriker <55847490+SineStriker@users.noreply.github.com>
Date: 周五, 17 5月 2024 11:41:23 +0800
Subject: [PATCH] Merge pull request #81 from JacobMuchow/fix/window-kit-config

---
 examples/qml/main.qml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/examples/qml/main.qml b/examples/qml/main.qml
index 8c59b9e..e27239c 100644
--- a/examples/qml/main.qml
+++ b/examples/qml/main.qml
@@ -45,7 +45,6 @@
         id: titleBar
         anchors {
             top: parent.top
-            topMargin: 1
             left: parent.left
             right: parent.right
         }
@@ -64,6 +63,7 @@
             height: 18
             mipmap: true
             source: "qrc:///app/example.png"
+            Component.onCompleted: windowAgent.setSystemButton(WindowAgent.WindowIcon, iconButton)
         }
 
         Text {

--
Gitblit v1.9.1