Fix patch

This commit is contained in:
Jan Grulich 2020-05-19 13:45:48 +02:00
parent 2d1601fe38
commit f0d2b6e014

View File

@ -1,14 +1,5 @@
From e5dfd0be75b31dc3b823de0c4bd320b9a6995b89 Mon Sep 17 00:00:00 2001
From: Jan Grulich <jgrulich@redhat.com>
Date: Mon, 18 May 2020 12:53:04 +0200
Subject: [PATCH] Views: do not set color to views which don't use our palette
---
style/adwaitastyle.cpp | 41 +++++++++++++++++++----------------------
1 file changed, 19 insertions(+), 22 deletions(-)
diff --git a/style/adwaitastyle.cpp b/style/adwaitastyle.cpp
index c50078f3..7c3e1c28 100644
index c50078f..7c3e1c2 100644
--- a/style/adwaitastyle.cpp
+++ b/style/adwaitastyle.cpp
@@ -409,28 +409,19 @@ void Style::polish(QWidget *widget)
@ -68,4 +59,4 @@ index c50078f3..7c3e1c28 100644
+ }
}
#endif
ParentStyleClass::drawControl(CE_ItemViewItem, &op, painter, widget);
ParentStyleClass::drawControl(CE_ItemViewItem, &op, painter, widget);