[neon/kde/konsole/Neon/release] debian/patches: add patch recommended by maintainer

Jonathan Riddell null at kde.org
Thu Jun 3 10:50:09 BST 2021


Git commit 9d4632dd8025f0c355f2156b39480e912f22d5a7 by Jonathan Riddell.
Committed on 03/06/2021 at 09:49.
Pushed by jriddell into branch 'Neon/release'.

add patch recommended by maintainer

A  +13   -0    debian/patches/585f9a561a07ec1cf5c20af37229667a3009362a.diff
A  +1    -0    debian/patches/series

https://invent.kde.org/neon/kde/konsole/commit/9d4632dd8025f0c355f2156b39480e912f22d5a7

diff --git a/debian/patches/585f9a561a07ec1cf5c20af37229667a3009362a.diff b/debian/patches/585f9a561a07ec1cf5c20af37229667a3009362a.diff
new file mode 100644
index 0000000..249f7ac
--- /dev/null
+++ b/debian/patches/585f9a561a07ec1cf5c20af37229667a3009362a.diff
@@ -0,0 +1,13 @@
+diff --git a/src/terminalDisplay/TerminalColor.cpp b/src/terminalDisplay/TerminalColor.cpp
+index 79dc1cd2cb69f9956419ada47607a61b6bf94995..042135a0c3135e084729c93cbfce22fe9c0aa170 100644
+--- a/src/terminalDisplay/TerminalColor.cpp
++++ b/src/terminalDisplay/TerminalColor.cpp
+@@ -121,7 +121,7 @@ namespace Konsole
+ 
+         QColor buttonTextColor = m_colorTable[DEFAULT_FORE_COLOR];
+         QColor backgroundColor = m_colorTable[DEFAULT_BACK_COLOR];
+-        backgroundColor.setAlpha(m_opacity);
++        backgroundColor.setAlphaF(m_opacity);
+ 
+         QColor buttonColor = backgroundColor.toHsv();
+         if (buttonColor.valueF() < 0.5) {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9a6951d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+585f9a561a07ec1cf5c20af37229667a3009362a.diff


More information about the Neon-commits mailing list