diff options
author | hjk <[email protected]> | 2024-05-29 11:45:22 +0200 |
---|---|---|
committer | hjk <[email protected]> | 2024-05-29 13:49:25 +0000 |
commit | efae6519242efca1810af3c40ee52f57e755e703 (patch) | |
tree | c7c9512540cee0bbe7ac4e0c5c7adedbaa0b0f2d /src/libs/tracing | |
parent | d41f15390f5ff53b5d8e86701e881002d5aaf7be (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.cpp | 2 |
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); } |