From bbc211cb6e341b96966059e5bfcc6a59244b281c Mon Sep 17 00:00:00 2001 From: luoqing Date: Wed, 22 Nov 2023 16:04:02 +0800 Subject: [PATCH] fix(geneneralconf):Fix the autostart failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修复自启动设置失效 Closes #20621,#21058 --- src/utils/confighandler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/confighandler.cpp b/src/utils/confighandler.cpp index 0c57ad2..b9127d2 100644 --- a/src/utils/confighandler.cpp +++ b/src/utils/confighandler.cpp @@ -285,9 +285,9 @@ void ConfigHandler::setStartupLaunch(const bool start) { QFile file(path + "Flameshot.desktop"); if (start) { if (file.open(QIODevice::WriteOnly)) { - QByteArray data("[Desktop Entry]\nName=flameshot\nIcon=flameshot" - "\nExec=flameshot\nTerminal=false\nType=Application" - "\nX-GNOME-Autostart-enabled=true\n"); + QByteArray data("[Desktop Entry]\nName=kiran-flameshot\nIcon=flameshot" + "\nExec=kiran-flameshot\nTerminal=false\nType=Application" + "\nX-KIRAN-Autostart-enabled=true\n"); file.write(data); } } else { -- 2.33.0