Skip to content

Commit

Permalink
fix: boolean value in desktop file should be lower-case
Browse files Browse the repository at this point in the history
修正设置自启动开关时,Hidden 的值首字母被错误大写的问题

Log:
  • Loading branch information
BLumia committed Sep 4, 2023
1 parent 4ee341d commit 94f5621
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desktopintegration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"?
}
Expand Down

0 comments on commit 94f5621

Please sign in to comment.