summaryrefslogtreecommitdiff
path: root/devel/hotspot/files/patch-src_models_timelinedelegate.cpp
blob: 28e2e8df92a2789570341fde2988cda3d9508b39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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();