From 94f5621be5d4d3343d861124ed94ad58a7847b81 Mon Sep 17 00:00:00 2001 From: Wang Zichong Date: Mon, 4 Sep 2023 13:51:17 +0800 Subject: [PATCH] fix: boolean value in desktop file should be lower-case MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正设置自启动开关时,Hidden 的值首字母被错误大写的问题 Log: --- desktopintegration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktopintegration.cpp b/desktopintegration.cpp index d700d6f9..d9cb7d86 100644 --- a/desktopintegration.cpp +++ b/desktopintegration.cpp @@ -188,7 +188,7 @@ void DesktopIntegration::setAutoStart(const QString &desktopId, bool on) } DDesktopEntry entry(autoStartPath); - entry.setRawValue(on ? "False" : "True", "Hidden"); + entry.setRawValue(on ? "false" : "true", "Hidden"); if (createdByUs) { entry.setStringValue("DDE", "X-Deepin-CreatedBy"); // maybe better to add a "managed by"? }