From eda513356b8eb58b3069ddceb8c3dbc63c7fcdcd Mon Sep 17 00:00:00 2001
From: Sine Striker <trueful@163.com>
Date: 周日, 17 12月 2023 15:58:49 +0800
Subject: [PATCH] Update resources

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

diff --git a/examples/mainwindow/mainwindow.h b/examples/mainwindow/mainwindow.h
index 46f23d3..cfed3a6 100644
--- a/examples/mainwindow/mainwindow.h
+++ b/examples/mainwindow/mainwindow.h
@@ -4,11 +4,15 @@
 #include <QtWidgets/QMainWindow>
 
 class MainWindow : public QMainWindow {
+    Q_OBJECT
 public:
     explicit MainWindow(QWidget *parent = nullptr);
-    ~MainWindow();
+    ~MainWindow() override;
 
 protected:
+    bool event(QEvent *event) override;
+
+private:
     void installWindowAgent();
 };
 

--
Gitblit v1.9.1