[neon/extras/kuserfeedback/Neon/stable] debian/patches: Revert "add patch recommended by Nate"
Jonathan Esk-Riddell
null at kde.org
Fri Feb 4 11:13:39 GMT 2022
Git commit 2b6a71a9bf5377fc3e0a392ae5846fd798f8c9b3 by Jonathan Esk-Riddell.
Committed on 04/02/2022 at 11:13.
Pushed by jriddell into branch 'Neon/stable'.
Revert "add patch recommended by Nate"
This reverts commit 65f4cee368f067ea94c2db96be6a747322629e02.
D +0 -33 debian/patches/opengl-source.diff
D +0 -1 debian/patches/series
https://invent.kde.org/neon/extras/kuserfeedback/commit/2b6a71a9bf5377fc3e0a392ae5846fd798f8c9b3
diff --git a/debian/patches/opengl-source.diff b/debian/patches/opengl-source.diff
deleted file mode 100644
index 1ba35ca..0000000
--- a/debian/patches/opengl-source.diff
+++ /dev/null
@@ -1,33 +0,0 @@
-commit 17db7d75643b4f3dccd5b36a6ab175f03ba74297
-Author: Aleix Pol <aleixpol at kde.org>
-Date: Wed Feb 2 20:36:40 2022 +0100
-
- opengl source: Do not crash if we could not make our context current
-
- BUG: 449505
-
-diff --git a/src/provider/core/openglinfosource.cpp b/src/provider/core/openglinfosource.cpp
-index 5117d85..08402c7 100644
---- a/src/provider/core/openglinfosource.cpp
-+++ b/src/provider/core/openglinfosource.cpp
-@@ -13,6 +13,7 @@
- #include <QOpenGLFunctions>
- #include <QSurfaceFormat>
- #include <QWindow>
-+#include "logging_p.h"
- #endif
-
- using namespace KUserFeedback;
-@@ -37,7 +38,11 @@ QVariant OpenGLInfoSource::data()
- QWindow window;
- window.setSurfaceType(QSurface::OpenGLSurface);
- window.create();
-- context.makeCurrent(&window);
-+ if (!context.makeCurrent(&window)) {
-+ qCWarning(Log) << "Could not make OpenGL context current";
-+ m.insert(QStringLiteral("type"), QStringLiteral("none"));
-+ return m;
-+ }
- QOpenGLFunctions functions(&context);
- m.insert(QStringLiteral("vendor"), OpenGLInfoSourcePrivate::normalizeVendor(reinterpret_cast<const char*>(functions.glGetString(GL_VENDOR))));
- m.insert(QStringLiteral("renderer"), OpenGLInfoSourcePrivate::normalizeRenderer(reinterpret_cast<const char*>(functions.glGetString(GL_RENDERER))));
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index cba1de2..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-opengl-source.diff
More information about the Neon-commits
mailing list