nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From ad3f083de2dca2b2c5189430d33a78acfbd9d694 Mon Sep 17 00:00:00 2001
2From: Lana Black <lanablack@amok.cc>
3Date: Wed, 8 Jun 2022 12:42:31 +0000
4Subject: [PATCH] Disable autostart.
5
6---
7 app/settings/universalsettings.cpp | 11 -----------
8 1 file changed, 11 deletions(-)
9
10diff --git a/app/settings/universalsettings.cpp b/app/settings/universalsettings.cpp
11index c95371db..4efd3ffe 100644
12--- a/app/settings/universalsettings.cpp
13+++ b/app/settings/universalsettings.cpp
14@@ -74,17 +74,6 @@ UniversalSettings::~UniversalSettings()
15
16 void UniversalSettings::load()
17 {
18- //! check if user has set the autostart option
19- bool autostartUserSet = m_universalGroup.readEntry("userConfiguredAutostart", false);
20-
21- if (!autostartUserSet && !autostart()) {
22- //! the first time the application is running and autostart is not set, autostart is enabled
23- //! and from now own it will not be recreated in the beginning
24-
25- setAutostart(true);
26- m_universalGroup.writeEntry("userConfiguredAutostart", true);
27- }
28-
29 //! init screen scales
30 m_screenScalesGroup = m_universalGroup.group("ScreenScales");
31
32--
332.36.1
34