Sophie

Sophie

distrib > Mageia > 6 > armv7hl > media > core-updates-src > by-pkgid > 25667ea3beb7fd9832975c8d5ecb1b60 > files > 21

sddm-0.14.0-13.2.mga6.src.rpm

From fb34fd4cc54182a8b14855b42695d6fdaf1f29ff Mon Sep 17 00:00:00 2001
From: David Edmundson <kde@davidedmundson.co.uk>
Date: Mon, 24 Oct 2016 14:38:46 +0100
Subject: [PATCH 21/21] Fix QStringLiteral

---
 src/helper/UserSession.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/helper/UserSession.cpp b/src/helper/UserSession.cpp
index 11e3ea3..a4405c2 100644
--- a/src/helper/UserSession.cpp
+++ b/src/helper/UserSession.cpp
@@ -74,7 +74,7 @@ namespace SDDM {
 
         // For Wayland sessions we leak the VT into the session as stdin so
         // that it stays open without races
-        if (sessionType == QLatin1StringQString("wayland")) {
+        if (sessionType == QLatin1String("wayland")) {
             // open VT and get the fd
             QString ttyString = QStringLiteral("/dev/tty%1").arg(processEnvironment().value(QStringLiteral("XDG_VTNR")));
             int vtFd = ::open(qPrintable(ttyString), O_RDWR | O_NOCTTY);
-- 
2.10.2