File lazy-sddm-theme.patch of Package plasma5-workspace

From b704fa4d735222166cd2d43c9f8da60df5b4fd0d Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Fri, 4 May 2018 09:10:10 +0200
Subject: [PATCH] sddm-theme: Set needsFullUserModel=false

Otherwise SDDM has to load all users even if they're not shown.
See https://github.com/sddm/sddm/pull/1017
---
 sddm-theme/Main.qml         | 2 ++
 sddm-theme/theme.conf.cmake | 1 +
 2 files changed, 3 insertions(+)

Index: plasma-workspace-5.15.80git.20190316T190106~d7654042/sddm-theme/Main.qml
===================================================================
--- plasma-workspace-5.15.80git.20190316T190106~d7654042.orig/sddm-theme/Main.qml	2019-03-16 19:01:06.000000000 +0100
+++ plasma-workspace-5.15.80git.20190316T190106~d7654042/sddm-theme/Main.qml	2019-03-16 20:56:49.279402750 +0100
@@ -182,6 +182,8 @@
 
                     if ( userListModel.count === 0 ) return false
 
+                    if ( userListModel.hasOwnProperty("containsAllUsers") && !userListModel.containsAllUsers) return false
+
                     return userListModel.count <= userListModel.disableAvatarsThreshold && (userList.y + mainStack.y) > 0
                 }
 
Index: plasma-workspace-5.15.80git.20190316T190106~d7654042/sddm-theme/theme.conf.cmake
===================================================================
--- plasma-workspace-5.15.80git.20190316T190106~d7654042.orig/sddm-theme/theme.conf.cmake	2019-03-16 19:01:06.000000000 +0100
+++ plasma-workspace-5.15.80git.20190316T190106~d7654042/sddm-theme/theme.conf.cmake	2019-03-16 20:56:49.279402750 +0100
@@ -3,3 +3,4 @@ type=image
 color=#1d99f3
 fontSize=10
 background=${CMAKE_INSTALL_PREFIX}/${WALLPAPER_INSTALL_DIR}/Next/contents/images/5120x2880.png
+needsFullUserModel=false