From d1c570ba579e77b1b1c4dd1da5c5320fb4195226 Mon Sep 17 00:00:00 2001 From: lixueman Date: Fri, 15 Jul 2022 08:47:43 +0800 Subject: [PATCH] =?UTF-8?q?#129213=20=E8=A7=A3=E5=86=B3=E5=BC=80=E5=A7=8B?= =?UTF-8?q?=E8=8F=9C=E5=8D=95=E7=82=B9=E5=87=BB=E5=B1=8F=E5=B9=95=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=90=8E=E5=BB=B6=E8=BF=9F=E9=80=80=E5=87=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UserInterface/ListView/klistview.cpp | 1 + src/UserInterface/full_mainwindow.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/UserInterface/ListView/klistview.cpp b/src/UserInterface/ListView/klistview.cpp index 96a03e6..8151d04 100755 --- a/src/UserInterface/ListView/klistview.cpp +++ b/src/UserInterface/ListView/klistview.cpp @@ -46,6 +46,7 @@ void KListView::onClicked(QModelIndex index) if (var.isValid()) { QString desktopfp = var.value(); execApp(desktopfp); + Q_EMIT sendHideMainWindowSignal(); } } diff --git a/src/UserInterface/full_mainwindow.cpp b/src/UserInterface/full_mainwindow.cpp index 4e6ea9a..826dc1d 100755 --- a/src/UserInterface/full_mainwindow.cpp +++ b/src/UserInterface/full_mainwindow.cpp @@ -212,6 +212,7 @@ void FullMainWindow::initConnect() connect(m_fullCommonPage, &FullCommonUseWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_fullFunctionPage, &FullFunctionWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_fullLetterPage, &FullLetterWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); + connect(m_fullResultPage, &FullSearchResultWidget::sendHideMainWindowSignal, this, &FullMainWindow::fullWindowHide); connect(m_dropDownMenu, &MenuBox::triggered, this, &FullMainWindow::on_fullSelectMenuButton_triggered); connect(m_dropDownMenu, &MenuBox::sendMainWinActiveSignal, [ = ]() { selectIconAnimation(false);