summaryrefslogtreecommitdiff
path: root/user/sddm-kcm/qt59.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 22:47:32 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-08-06 22:47:32 +0000
commit26fe534666f8c8ac0e8f2c2a432e5b877f756f4c (patch)
tree6532d031eae8b1258e290ba655089bebd4b7324e /user/sddm-kcm/qt59.patch
parent7fffbaf95362383c315a3f2c7989d04c178ce962 (diff)
downloadpackages-26fe534666f8c8ac0e8f2c2a432e5b877f756f4c.tar.gz
packages-26fe534666f8c8ac0e8f2c2a432e5b877f756f4c.tar.bz2
packages-26fe534666f8c8ac0e8f2c2a432e5b877f756f4c.tar.xz
packages-26fe534666f8c8ac0e8f2c2a432e5b877f756f4c.zip
user/[KDE Plasma]: Bump to 5.12.8
Diffstat (limited to 'user/sddm-kcm/qt59.patch')
-rw-r--r--user/sddm-kcm/qt59.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/sddm-kcm/qt59.patch b/user/sddm-kcm/qt59.patch
new file mode 100644
index 000000000..977874172
--- /dev/null
+++ b/user/sddm-kcm/qt59.patch
@@ -0,0 +1,28 @@
+From e2f7ead351eedf245c2bb1840053288d18d5c0fc Mon Sep 17 00:00:00 2001
+From: David Edmundson <kde@davidedmundson.co.uk>
+Date: Tue, 5 Mar 2019 14:05:21 +0000
+Subject: Revert "Fix autologin session loading"
+
+It introduces Qt API > 5.8 which Plasma 5.12 depends on
+
+This reverts commit 634a2dd1bef5dd8434db95a391300f68f30fd14e.
+---
+ src/sessionmodel.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/sessionmodel.cpp b/src/sessionmodel.cpp
+index 08fe05d..9e52b12 100644
+--- a/src/sessionmodel.cpp
++++ b/src/sessionmodel.cpp
+@@ -64,7 +64,7 @@ void SessionModel::loadDir(const QString &path, SessionType type)
+ QFile inputFile(dir.absoluteFilePath(session));
+ if (!inputFile.open(QIODevice::ReadOnly))
+ continue;
+- SessionPtr si { new Session { session.chopped(strlen(".desktop")), QString(), QString(), QString() } };
++ SessionPtr si { new Session { session, "", "", "" } };
+ bool isHidden = false;
+ QString current_section;
+ QTextStream in(&inputFile);
+--
+cgit v1.1
+