summaryrefslogtreecommitdiff
path: root/lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch')
-rw-r--r--lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch b/lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch
deleted file mode 100644
index b25b3254173d..000000000000
--- a/lxqt-base/lxqt-qtplugin/files/lxqt-qtplugin-0.15.1-adjust-highlight-colour.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 5858386839d499c032d62c9d10301dc09421de27 Mon Sep 17 00:00:00 2001
-From: Tsu Jan <tsujan2000@gmail.com>
-Date: Mon, 8 Jun 2020 01:49:41 +0430
-Subject: [PATCH] Enforce Fusion's highlight color when setting window color
-
-Because Qt's default highlight color is `#000080` while that of Fusion is `#3c8ce6`. Not only the latter is more elegant but also the patch fixes the color change after restarting apps.
-
-Also, the highlighted text color is set to white for the sake of certainty.
----
- src/lxqtplatformtheme.cpp | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/src/lxqtplatformtheme.cpp b/src/lxqtplatformtheme.cpp
-index 76f6483..3edc5b1 100644
---- a/src/lxqtplatformtheme.cpp
-+++ b/src/lxqtplatformtheme.cpp
-@@ -134,6 +134,9 @@ void LXQtPlatformTheme::loadSettings() {
- if(LXQtPalette_)
- delete LXQtPalette_;
- LXQtPalette_ = new QPalette(winColor_);
-+ // Qt's default highlight color and that of Fusion may be different. This is a workaround:
-+ LXQtPalette_->setColor(QPalette::Highlight, QColor(60, 140, 230));
-+ LXQtPalette_->setColor(QPalette::HighlightedText, QColor(255, 255, 255));
- }
-
- // SystemFont