From 0e88ecccf8e4782ea60e9c8c1bafa03e89e25bd9 Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Thu, 28 Sep 2023 09:46:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E5=8D=95=E4=BE=8B):=E4=BD=BF=E7=94=A8QtSin?= =?UTF-8?q?gleApplication=E5=A4=84=E7=90=86=E5=8D=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 10 ++++++++++ src/main.cpp | 6 +++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 166d6261..9d5d5b1b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,13 @@ +kylin-nm (3.24.0.0-0k2.21) v101; urgency=medium + + * BUG: + - #194718 【网络连接】麒麟网络设置工具可固定到任务栏 + * 需求号:无 + * 其他改动说明: 弹窗跳过任务栏 + * 其他改动影响域:单例 + + -- zhaoshixu Thu, 28 Sep 2023 09:41:09 +0800 + kylin-nm (3.24.0.0-0k2.20) v101; urgency=medium * BUG: diff --git a/src/main.cpp b/src/main.cpp index f7482b41..aa2e8ed0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -135,7 +135,7 @@ int main(int argc, char *argv[]) interface.call(QStringLiteral("showKylinNM"), 1); } else if (parser.isSet(snOption)){ interface.call(QStringLiteral("showKylinNM"), 0); - } else { + } /*else { const QString serviceName = "com.kylin.network"; QDBusConnectionInterface *interface1 = QDBusConnection::sessionBus().interface(); QDBusReply pid = interface1->servicePid(serviceName); @@ -145,6 +145,10 @@ int main(int argc, char *argv[]) interface.call(QStringLiteral("showKylinNM"), 2); } } + return 0;*/ + } + + if (a.isRunning()) { return 0; }