diff options
Diffstat (limited to 'user/plasma-workspace/header.patch')
-rw-r--r-- | user/plasma-workspace/header.patch | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/user/plasma-workspace/header.patch b/user/plasma-workspace/header.patch new file mode 100644 index 000000000..ea82bd7f0 --- /dev/null +++ b/user/plasma-workspace/header.patch @@ -0,0 +1,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 + |