From 0c943d4f87d0cf47545a87e4cb238b8306db3aa1 Mon Sep 17 00:00:00 2001 From: lupoDharkael Date: Sat, 24 Feb 2018 11:55:01 +0100 Subject: [PATCH] Remove Encoding entry from autostart file --- 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 bf6b658a..32a099a3 100644 --- a/src/utils/confighandler.cpp +++ b/src/utils/confighandler.cpp @@ -202,9 +202,9 @@ void ConfigHandler::setStartupLaunch(const bool start) { QFile file(path); if (start) { if (file.open(QIODevice::WriteOnly)) { - QByteArray data("[Desktop Entry]\nEncoding=UTF-8\nName=flameshot" - "\nIcon=flameshot\nExec=flameshot\nTerminal=false" - "\nType=Application\nX-GNOME-Autostart-enabled=true\n"); + QByteArray data("[Desktop Entry]\nName=flameshot\nIcon=flameshot" + "\nExec=flameshot\nTerminal=false\nType=Application" + "\nX-GNOME-Autostart-enabled=true\n"); file.write(data); } } else {