From 83ae7e9efdc1b3d12ec1545a74994d39955f255f Mon Sep 17 00:00:00 2001 From: ComixHe Date: Tue, 30 Jan 2024 21:37:29 +0800 Subject: [PATCH 1/2] fix: dss plugin shouldn't acquire focus Issue: https://github.com/linuxdeepin/developer-center/issues/7137 Signed-off-by: ComixHe --- dss-network-plugin/network_module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/dss-network-plugin/network_module.cpp b/dss-network-plugin/network_module.cpp index dc0082ad..53141e96 100644 --- a/dss-network-plugin/network_module.cpp +++ b/dss-network-plugin/network_module.cpp @@ -429,6 +429,7 @@ QString NetworkPlugin::icon() const QWidget *NetworkPlugin::itemWidget() const { DIconButton *iconButton = new DIconButton; + iconButton->setFocusPolicy(Qt::NoFocus); iconButton->setFlat(true); iconButton->setAttribute(Qt::WA_TransparentForMouseEvents); iconButton->setIconSize({26, 26}); From 1bc393a134d95e86a767b960da4f84eb9fdfc436 Mon Sep 17 00:00:00 2001 From: ComixHe Date: Tue, 30 Jan 2024 21:42:30 +0800 Subject: [PATCH 2/2] chore: bump version to 2.0.21 Signed-off-by: ComixHe --- debian/changelog | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/changelog b/debian/changelog index 6c69b583..bf95fad3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +dde-network-core (2.0.21) unstable; urgency=medium + + * fix: dss plugin shouldn't acquire focus + + -- YuMing He Tue, 30 Jan 2024 21:42:11 +0800 + dde-network-core (2.0.20) unstable; urgency=medium * fix #6014