From 5c04046acae6e61280fba7fef31401edd7c36087 Mon Sep 17 00:00:00 2001
From: Dylan Liu <312902918@qq.com>
Date: 周五, 23 5月 2025 16:04:20 +0800
Subject: [PATCH] QWKCore/cocoawindowcontext: Use typeId() instead of type() in Qt 6.0+. (#181)

---
 examples/shared/widgetframe/windowbar_p.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/examples/shared/widgetframe/windowbar_p.h b/examples/shared/widgetframe/windowbar_p.h
index 36ceb17..35422ae 100644
--- a/examples/shared/widgetframe/windowbar_p.h
+++ b/examples/shared/widgetframe/windowbar_p.h
@@ -29,8 +29,9 @@
             IconButton,
             MenuWidget,
             TitleLabel,
-            MinimumButton,
-            MaximumButton,
+            PinButton,
+            MinimizeButton,
+            MaximizeButton,
             CloseButton,
         };
 

--
Gitblit v1.9.1