summaryrefslogtreecommitdiff
path: root/dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-11-20 16:38:40 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-11-20 16:45:38 +0000
commitbefa20d4487ffb8faf457aa0b7d7e0d054d26c07 (patch)
tree60937e54548e8e8b5670f2afc8a671d12ac27c68 /dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch
parentBump EAPI on hotspot (diff)
downloadkdab-befa20d4487ffb8faf457aa0b7d7e0d054d26c07.tar.bz2
kdab-befa20d4487ffb8faf457aa0b7d7e0d054d26c07.tar.xz
kdab-befa20d4487ffb8faf457aa0b7d7e0d054d26c07.zip
Update KDDockWidgets to 2.4 with qt6, build hotspot for qt6HEADmain
Diffstat (limited to 'dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch')
-rw-r--r--dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch b/dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch
new file mode 100644
index 0000000..056e5fa
--- /dev/null
+++ b/dev-util/hotspot/files/ec54b1efe74ca4b6cc1e432046de6269029c02ed.patch
@@ -0,0 +1,28 @@
+From ec54b1efe74ca4b6cc1e432046de6269029c02ed Mon Sep 17 00:00:00 2001
+From: Heiko Becker <mail@heiko-becker.de>
+Date: Thu, 27 Feb 2025 23:33:07 +0100
+Subject: [PATCH] Fix build with Qt 6.9
+
+That version added some overloads to setBrush [1], making the {}
+ambiguous:
+"hotspot/src/models/timelinedelegate.cpp:197:26: error: call of overloaded
+'setBrush(<brace-enclosed initializer list>)' is ambiguous"
+
+[1] qtbase commit: 2ad79c626d7a94e545886152ce5ac3feabf619a2
+---
+ src/models/timelinedelegate.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/models/timelinedelegate.cpp b/src/models/timelinedelegate.cpp
+index b567f280b..e666d122e 100644
+--- a/src/models/timelinedelegate.cpp
++++ b/src/models/timelinedelegate.cpp
+@@ -194,7 +194,7 @@ void TimeLineDelegate::paint(QPainter* painter, const QStyleOptionViewItem& opti
+ 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();