From 3a9c1f4952017a9a2c9a35104f6e98d8cf5a4be6 Mon Sep 17 00:00:00 2001 From: donghualin Date: Fri, 6 Jan 2023 14:37:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E5=90=AF=E5=8A=A8=E7=8E=B2=E7=8F=91=E5=BA=94=E7=94=A8=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E5=8A=9F=E8=83=BD=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 对于玲珑应用以dbus-send开头的命令,不做特殊的处理 Log: Influence: 从任务栏触发截图录屏玲珑应用的全屏截图和延时截图的功能,判断是否可以正常使用 Bug: https://pms.uniontech.com/bug-view-177111.html Change-Id: I3251981e425e2804a9b0baf34e36c9f3a6dedc70 --- src/modules/startmanager/startmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/startmanager/startmanager.cpp b/src/modules/startmanager/startmanager.cpp index 520644c..30d1f77 100644 --- a/src/modules/startmanager/startmanager.cpp +++ b/src/modules/startmanager/startmanager.cpp @@ -436,7 +436,7 @@ bool StartManager::launch(DesktopInfo *info, QString cmdLine, uint32_t timestamp process.setWorkingDirectory(workingDir.c_str()); process.setEnvironment(envs); - if (desktopFile.contains("/persistent/linglong")) { + if (exec != "dbus-send" && desktopFile.contains("/persistent/linglong")) { exeArgs.clear(); #ifdef QT_DEBUG