From c148f9ba22947c2f4ca3e024490e79afad957c7e Mon Sep 17 00:00:00 2001 From: sleepwithoutbz Date: Tue, 23 Sep 2025 12:26:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E7=9A=84=E8=A1=8C=E4=B8=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/window.cpp b/src/window.cpp index 5af0b0d..d656e0d 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -48,6 +48,9 @@ void MainWindow::initWindow() { _tablePage = new CBTable(this); addPageNode("剪贴板历史", _tablePage, ElaIconType::TableTree); + + this->setIsDefaultClosed(false); + connect(this, &MainWindow::closeButtonClicked, this, [=]() { setVisible(false); }); } void MainWindow::createActions() {