File boo949903.patch of Package sddm

Index: sddm-0.14.0/src/common/Configuration.h
===================================================================
--- sddm-0.14.0.orig/src/common/Configuration.h
+++ sddm-0.14.0/src/common/Configuration.h
@@ -97,8 +97,9 @@ namespace SDDM {
 
     Config(StateConfig, []()->QString{auto tmp = getpwnam("sddm"); return tmp ? QString::fromLocal8Bit(tmp->pw_dir) : QStringLiteral(STATE_DIR);}().append(QStringLiteral("/state.conf")),
         Section(Last,
-            Entry(Session,         QString,     QString(),                                      _S("Name of the session for the last logged-in user.\n"
-                                                                                                   "This session will be preselected when the login screen appears."));
+            Entry(Session,         QString,     _S("/usr/share/xsessions/plasma5.desktop"),     _S("Name of the session for the last logged-in user.\n"
+                                                                                                   "This session will be preselected when the login screen appears.\n"
+                                                                                                   "This is Plasma 5 by default"));
             Entry(User,            QString,     QString(),                                      _S("Name of the last logged-in user.\n"
                                                                                                    "This user will be preselected when the login screen appears"));
         );
openSUSE Build Service is sponsored by