about summary refs log tree commit diff
path: root/pkgs/applications/misc/latte-dock/0001-close-user-autostart.patch
blob: 63d5ecd798a60c44171618ff9ca766a4203811fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From a162c54ed1fcc39434edf8666c72c305d05e79e6 Mon Sep 17 00:00:00 2001
From: diffumist <git@diffumist.me>
Date: Mon, 4 Oct 2021 16:58:37 +0800
Subject: [PATCH] close user config autostart

---
 app/settings/universalsettings.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/app/settings/universalsettings.cpp b/app/settings/universalsettings.cpp
index e0010542..82b9e785 100644
--- a/app/settings/universalsettings.cpp
+++ b/app/settings/universalsettings.cpp
@@ -77,9 +77,6 @@ void UniversalSettings::load()
     //! check if user has set the autostart option
     bool autostartUserSet = m_universalGroup.readEntry("userConfiguredAutostart", false);

-    if (!autostartUserSet && !autostart()) {
-        setAutostart(true);
-    }

     //! init screen scales
     m_screenScalesGroup = m_universalGroup.group("ScreenScales");
--
2.33.0