From 95ee0f538130d199970acd4e8486b70f4bea507e Mon Sep 17 00:00:00 2001 From: momen Date: Sun, 14 Sep 2025 23:29:33 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E6=B7=BB=E5=8A=A0=E6=A7=BD=E5=87=BD?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mainwindow.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mainwindow.h b/src/mainwindow.h index b587750..41002cd 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -24,7 +24,9 @@ public: protected: void closeEvent(QCloseEvent *event) override; - +private slots: + // ⬅️ 声明一个槽函数,它将接收来自Updater的信号 + void handleUpdateFinished(bool success); private: Ui::MainWindow *ui; void checkUpdates();