summaryrefslogtreecommitdiff
path: root/user/plasma-workspace/header.patch
blob: ea82bd7f0371f9c90a8fe4782ca0250384ffec33 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
From a788ab3d08a8a68ed232f81a2110f447080451ec Mon Sep 17 00:00:00 2001
From: Laurent Montel <montel@kde.org>
Date: Thu, 8 Aug 2019 13:54:17 +0200
Subject: Add missing include

---
 shell/shellcorona.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/shell/shellcorona.cpp b/shell/shellcorona.cpp
index 90fd4f9..5c94e32 100644
--- a/shell/shellcorona.cpp
+++ b/shell/shellcorona.cpp
@@ -30,6 +30,7 @@
 #include <QQmlContext>
 #include <QDBusConnection>
 #include <QUrl>
+#include <QScreen>
 
 #include <QJsonObject>
 #include <QJsonDocument>
-- 
cgit v1.1

From b98a399bdcdb7f0ca84298bad96b1a13ed8b5d1f Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Thu, 8 Aug 2019 07:54:35 -0600
Subject: Fix build failure in the CI

---
 runners/windows/windowsrunner.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/runners/windows/windowsrunner.cpp b/runners/windows/windowsrunner.cpp
index 70856f7..4fc4aaf 100644
--- a/runners/windows/windowsrunner.cpp
+++ b/runners/windows/windowsrunner.cpp
@@ -24,6 +24,7 @@
 
 #include <QDebug>
 #include <QIcon>
+#include <QMutexLocker>
 #include <KWindowSystem>
 #include <KLocalizedString>
 
-- 
cgit v1.1

From 0c4ec1c4af05aa1f6e36c934881cf6f427f7241a Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Tue, 6 Aug 2019 13:29:56 -0600
Subject: Fix compilation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Summary:
Without this patch, plasma-workspace fails to compile for me with the following error:
```
In file included from /home/nate/kde/build/plasma-workspace/runners/windows/krunner_windows_autogen/EWIEGA46WW/moc_windowsrunner.cpp:10,
                 from /home/nate/kde/build/plasma-workspace/runners/windows/krunner_windows_autogen/mocs_compilation.cpp:2:
/home/nate/kde/build/plasma-workspace/runners/windows/krunner_windows_autogen/EWIEGA46WW/../../../../../../src/plasma-workspace/runners/windows/windowsrunner.h:61:9: error: ‘QMutex’ does not name a type
   61 |         QMutex m_mutex;
      |         ^~~~~~
```

Test Plan: It compiles now

Reviewers: #plasma, aacid

Reviewed By: aacid

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22976
---
 runners/windows/windowsrunner.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/runners/windows/windowsrunner.h b/runners/windows/windowsrunner.h
index 016b7c4..a106af8 100644
--- a/runners/windows/windowsrunner.h
+++ b/runners/windows/windowsrunner.h
@@ -21,6 +21,8 @@
 
 #include <KRunner/AbstractRunner>
 
+#include <QMutex>
+
 class KWindowInfo;
 
 class WindowsRunner : public Plasma::AbstractRunner
-- 
cgit v1.1