From 969c4634186cee600f9c382c1adb65b0a69a6f42 Mon Sep 17 00:00:00 2001 From: JunjieBai Date: Thu, 7 Mar 2024 11:32:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(ukcc-plugin):=E4=BF=AE=E5=A4=8D=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E7=B4=A2=E5=BC=95=E5=BC=B9=E7=AA=97=E4=B8=8D=E5=9C=A8?= =?UTF-8?q?=E7=88=B6=E7=AA=97=E5=8F=A3=E5=B1=85=E4=B8=AD=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- search-ukcc-plugin/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search-ukcc-plugin/search.cpp b/search-ukcc-plugin/search.cpp index e8c324a..7b318e6 100644 --- a/search-ukcc-plugin/search.cpp +++ b/search-ukcc-plugin/search.cpp @@ -176,7 +176,7 @@ QWidget *Search::pluginUi() }); connect(m_contentIndexBtn, &kdk::KSwitchButton::pressed, this, [ & ] { if (!m_contentIndexBtn->isChecked()) { - QMessageBox msgBox; + QMessageBox msgBox(m_pluginWidget); msgBox.setModal(true); msgBox.setIcon(QMessageBox::Warning); msgBox.setText(tr("Create file content index will increase the usage of memory and CPU, do you still want to open it?"));