summaryrefslogtreecommitdiff
path: root/devel/hotspot/files/patch-src_models_timelinedelegate.cpp
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-06-26 11:20:48 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-06-26 11:20:48 +0300
commitbe5c498a096e2960b1cef11343ac887dbb952430 (patch)
treee855a362a45ba495d47d8be07378f8d7b418a17a /devel/hotspot/files/patch-src_models_timelinedelegate.cpp
parentwww/py-google-api-python-client: Update to 2.174.0 (diff)
devel/hotspot: Unbreak build with Qt 6
Diffstat (limited to 'devel/hotspot/files/patch-src_models_timelinedelegate.cpp')
-rw-r--r--devel/hotspot/files/patch-src_models_timelinedelegate.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/hotspot/files/patch-src_models_timelinedelegate.cpp b/devel/hotspot/files/patch-src_models_timelinedelegate.cpp
new file mode 100644
index 000000000000..28e2e8df92a2
--- /dev/null
+++ b/devel/hotspot/files/patch-src_models_timelinedelegate.cpp
@@ -0,0 +1,11 @@
+--- src/models/timelinedelegate.cpp.orig 2024-05-28 14:02:14 UTC
++++ src/models/timelinedelegate.cpp
+@@ -194,7 +194,7 @@ void TimeLineDelegate::paint(QPainter* painter, const
+ painter->drawRect(threadTimeRect.adjusted(-1, -1, 0, 0));
+
+ // visualize all events
+- painter->setBrush({});
++ painter->setBrush(QBrush());
+
+ if (offCpuCostId != -1) {
+ const auto offCpuColor = scheme.background(KColorScheme::NegativeBackground).color();