From be5c498a096e2960b1cef11343ac887dbb952430 Mon Sep 17 00:00:00 2001 From: Gleb Popov Date: Thu, 26 Jun 2025 11:20:48 +0300 Subject: devel/hotspot: Unbreak build with Qt 6 --- devel/hotspot/files/patch-src_models_timelinedelegate.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/hotspot/files/patch-src_models_timelinedelegate.cpp (limited to 'devel/hotspot/files/patch-src_models_timelinedelegate.cpp') 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(); -- cgit v1.2.3