summaryrefslogtreecommitdiff
path: root/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-17 18:23:45 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-17 18:23:45 +0000
commiteb65f0d6ef5688d0b3372cfc7254c9b900ce4f32 (patch)
tree132218edb27c130b51ee5b51c71cb30ca9d1cad0 /kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
parentb4a0b6f709c23dc9a7ddfd997ef13498b6739d17 (diff)
kde-plasma/libksysguard : bugfix https://bugs.kde.org/show_bug.cgi?id=433013 (no systemd land here)
Diffstat (limited to 'kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch')
-rw-r--r--kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch b/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
new file mode 100644
index 00000000..477f88d4
--- /dev/null
+++ b/kde-plasma/libksysguard/files/libksysguard-5.16.0-no-detailed-mem-message.patch
@@ -0,0 +1,26 @@
+From 49c5fdcc3bfdfedfaeaabac4f0070b986a166ce2 Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Fri, 7 Jun 2019 22:58:55 +0200
+Subject: [PATCH] Gentooify message about QtWebEngineWidgets
+
+Translations can not be provided for this.
+---
+ processui/scripting.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/processui/scripting.cpp b/processui/scripting.cpp
+index 83cf895..647194a 100644
+--- a/processui/scripting.cpp
++++ b/processui/scripting.cpp
+@@ -242,7 +242,7 @@ new QWebChannel(window.qt.webChannelTransport, function(channel) {
+ mScriptingHtmlDialog->webView()->load(fileName);
+ #else
+ QMessageBox::critical(this, i18n("QtWebEngineWidgets not available"),
+- i18n("KSysGuard library was compiled without QtWebEngineWidgets, please contact your distribution."));
++ QStringLiteral("kde-plasma/libksysguard was built without USE \"webengine\" by user choice, detailed memory information not available."));
+ #endif
+ }
+ #if HAVE_QTWEBENGINEWIDGETS
+--
+2.21.0
+