summaryrefslogtreecommitdiff
path: root/user/sddm/0002-sddm-fix-build.patch
blob: e0b0fc71a68557bea07470666324cde28e91a092 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fixes a build issue with the latest Qt 5.15 patches

diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
index 5f93a1b..d5f29a9 100644
--- a/src/daemon/XorgDisplayServer.cpp
+++ b/src/daemon/XorgDisplayServer.cpp
@@ -65,7 +65,7 @@ namespace SDDM {
         // create a random hexadecimal number
         const char *digits = "0123456789abcdef";
         for (int i = 0; i < 32; ++i)
-            m_cookie[i] = digits[dis(gen)];
+            m_cookie[i] = QLatin1Char(digits[dis(gen)]);
     }
 
     XorgDisplayServer::~XorgDisplayServer() {