summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-06-06 18:27:33 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-06-10 17:29:24 +0200
commit1624b8968cdca7b66a45c1a497a0655caeb170c9 (patch)
tree9d950ac1fbdbe583509ce7a95aa55a8a85ec5c3a /kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch
parentkde-frameworks/kservice: drop 5.80.0* (diff)
downloadgentoo-1624b8968cdca7b66a45c1a497a0655caeb170c9.tar.gz
gentoo-1624b8968cdca7b66a45c1a497a0655caeb170c9.tar.bz2
gentoo-1624b8968cdca7b66a45c1a497a0655caeb170c9.zip
kde-frameworks/ktexteditor: drop 5.80.0*
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch')
-rw-r--r--kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch b/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch
deleted file mode 100644
index ffc94e9c97a..00000000000
--- a/kde-frameworks/ktexteditor/files/ktexteditor-5.80.0-fix-minimap-location-highlighting.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From bdd195792b7752e4c5a0ff74cb5b01a6accee517 Mon Sep 17 00:00:00 2001
-From: Jan Paul Batrina <jpmbatrina01@gmail.com>
-Date: Thu, 25 Mar 2021 19:31:39 +0800
-Subject: [PATCH] Use QPalette::highlight for the scrollbar minimap slider
-
-Previously, QPalette::link() was used which is the color for hyperlinks.
-Most themes set this to a shade of blue, so the slider will almost
-always be blue even when, for example, the main color
-of a theme is green.
-
-The selection highlight color was chosen because it is also the color
-used for indicating the active tab and is, generally, often attuned
-to a theme's main color.
-
-BUG: 434690
----
- src/view/kateviewhelpers.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/view/kateviewhelpers.cpp b/src/view/kateviewhelpers.cpp
-index 365e07e0..48e94609 100644
---- a/src/view/kateviewhelpers.cpp
-+++ b/src/view/kateviewhelpers.cpp
-@@ -750,7 +750,7 @@ void KateScrollBar::miniMapPaintEvent(QPaintEvent *e)
- // calculate colors
- const QColor backgroundColor = m_view->defaultStyleAttribute(KTextEditor::dsNormal)->background().color();
- const QColor foregroundColor = m_view->defaultStyleAttribute(KTextEditor::dsNormal)->foreground().color();
-- const QColor highlightColor = palette().link().color();
-+ const QColor highlightColor = palette().highlight().color();
-
- const int backgroundLightness = backgroundColor.lightness();
- const int foregroundLightness = foregroundColor.lightness();
---
-GitLab
-