aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/tracing
diff options
context:
space:
mode:
authorhjk <[email protected]>2024-05-29 11:45:22 +0200
committerhjk <[email protected]>2024-05-29 13:49:25 +0000
commitefae6519242efca1810af3c40ee52f57e755e703 (patch)
treec7c9512540cee0bbe7ac4e0c5c7adedbaa0b0f2d /src/libs/tracing
parentd41f15390f5ff53b5d8e86701e881002d5aaf7be (diff)
Utils: Introduce a convenience function creatorColor()
... forwarding to creatorTheme()->color(...) Change-Id: Iefaa043495127b3e500ed225584481d3ec0f8c1f Reviewed-by: Alessandro Portale <[email protected]>
Diffstat (limited to 'src/libs/tracing')
-rw-r--r--src/libs/tracing/timelinenotesrenderpass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/tracing/timelinenotesrenderpass.cpp b/src/libs/tracing/timelinenotesrenderpass.cpp
index 5a3939b4f32..c0cfa368b5c 100644
--- a/src/libs/tracing/timelinenotesrenderpass.cpp
+++ b/src/libs/tracing/timelinenotesrenderpass.cpp
@@ -217,7 +217,7 @@ NotesMaterialShader::NotesMaterialShader()
static QColor notesColor()
{
return Utils::creatorTheme()
- ? Utils::creatorTheme()->color(Utils::Theme::Timeline_HighlightColor)
+ ? Utils::creatorColor(Utils::Theme::Timeline_HighlightColor)
: QColor(255, 165, 0);
}