summaryrefslogtreecommitdiff
path: root/Userland/DevTools/Profiler/TimelineHeader.cpp
diff options
context:
space:
mode:
authorHendiadyoin1 <leon2002.la@gmail.com>2021-12-22 16:37:50 +0100
committerBrian Gianforcaro <b.gianfo@gmail.com>2021-12-23 12:45:36 -0800
commit39a4c0e6ce5d6f1ec3cc73198921d8eaa08c759b (patch)
tree6f837db66b1fb1296559301ac315990c0cdf5dfb /Userland/DevTools/Profiler/TimelineHeader.cpp
parentd001f8ba702b930a6e8fc2e8bcc7553f57bf92ff (diff)
downloadserenity-39a4c0e6ce5d6f1ec3cc73198921d8eaa08c759b.zip
Profiler: Add some implied auto qualifiers
Diffstat (limited to 'Userland/DevTools/Profiler/TimelineHeader.cpp')
-rw-r--r--Userland/DevTools/Profiler/TimelineHeader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/Profiler/TimelineHeader.cpp b/Userland/DevTools/Profiler/TimelineHeader.cpp
index 28e4e87900..9d1606f2bf 100644
--- a/Userland/DevTools/Profiler/TimelineHeader.cpp
+++ b/Userland/DevTools/Profiler/TimelineHeader.cpp
@@ -53,7 +53,7 @@ void TimelineHeader::paint_event(GUI::PaintEvent& event)
};
text_rect.center_vertically_within(frame_inner_rect());
- auto& font = m_selected ? painter.font().bold_variant() : painter.font();
+ auto const& font = m_selected ? painter.font().bold_variant() : painter.font();
auto color = m_selected ? palette().selection_text() : palette().button_text();
painter.draw_text(text_rect, m_text, font, Gfx::TextAlignment::CenterLeft, color);
}