0002-sddm-fix-build.patch 571 B

12345678910111213141516
  1. Fixes a build issue with the latest Qt 5.15 patches
  2. diff --git a/src/daemon/XorgDisplayServer.cpp b/src/daemon/XorgDisplayServer.cpp
  3. index 5f93a1b..d5f29a9 100644
  4. --- a/src/daemon/XorgDisplayServer.cpp
  5. +++ b/src/daemon/XorgDisplayServer.cpp
  6. @@ -65,7 +65,7 @@ namespace SDDM {
  7. // create a random hexadecimal number
  8. const char *digits = "0123456789abcdef";
  9. for (int i = 0; i < 32; ++i)
  10. - m_cookie[i] = digits[dis(gen)];
  11. + m_cookie[i] = QLatin1Char(digits[dis(gen)]);
  12. }
  13. XorgDisplayServer::~XorgDisplayServer() {