From c3ef42dad254f6d04cab521c9ae619a46bb84f7a Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 摹曛, 21 11月 2024 21:17:32 +0800
Subject: [PATCH] Fix #151 and a crash bug related to sub frameless window

---
 examples/mainwindow/mainwindow.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h
index 9af4d73..53514a1 100644
--- a/examples/mainwindow/mainwindow.h
+++ b/examples/mainwindow/mainwindow.h
@@ -30,8 +30,6 @@
 protected:
     bool event(QEvent *event) override;
 
-    void closeEvent(QCloseEvent *event) override;
-
 private:
     void installWindowAgent();
     void loadStyleSheet(Theme theme);

--
Gitblit v1.9.1