blob: 9778741721883745d810e84bc7a22f46ac5bfe4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
|