File: upstream_2592f1fe_lockscreen-remove-dead-code.patch

package info (click to toggle)
plasma-desktop 4%3A6.3.6-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 61,044 kB
  • sloc: cpp: 37,691; ansic: 2,617; python: 1,386; javascript: 1,163; xml: 1,082; sh: 128; makefile: 16
file content (35 lines) | stat: -rw-r--r-- 1,091 bytes parent folder | download
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
26
27
28
29
30
31
32
33
34
35
From 2592f1fe98661fc64b88e422d7f018e6b26d2c9b Mon Sep 17 00:00:00 2001
From: Marco Martin <notmart@gmail.com>
Date: Tue, 20 May 2025 13:47:23 +0200
Subject: [PATCH] lockscreen: remove dead code

The function tryToSwitchUser was removed in
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3577
but still called, casing error output on terminal

CCBUG:486352


(cherry picked from commit 24857e68a01cf92929c48279b9c42251e136a682)

24857e68 lockscreen: remove dead code

Co-authored-by: Marco Martin <notmart@gmail.com>
---
 desktoppackage/contents/lockscreen/NoPasswordUnlock.qml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/desktoppackage/contents/lockscreen/NoPasswordUnlock.qml b/desktoppackage/contents/lockscreen/NoPasswordUnlock.qml
index ef9a37c2d4..7aff511fab 100644
--- a/desktoppackage/contents/lockscreen/NoPasswordUnlock.qml
+++ b/desktoppackage/contents/lockscreen/NoPasswordUnlock.qml
@@ -23,6 +23,5 @@ SessionManagementScreen {
 
     Component.onCompleted: {
         forceActiveFocus();
-        Qt.callLater(tryToSwitchUser, false)
     }
 }
-- 
GitLab