From 604a246fe8dbc233837d80dd89c1ff3880a835a9 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 7 Oct 2023 14:50:46 +0200 Subject: [PATCH] PlaylistProxyStyle: Use CE_HeaderLabel instead of CE_Header --- src/playlist/playlistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playlist/playlistview.cpp b/src/playlist/playlistview.cpp index d3116f85..f2fd2de9 100644 --- a/src/playlist/playlistview.cpp +++ b/src/playlist/playlistview.cpp @@ -92,7 +92,7 @@ PlaylistProxyStyle::PlaylistProxyStyle(const QString &style) : QProxyStyle(style void PlaylistProxyStyle::drawControl(ControlElement element, const QStyleOption *option, QPainter *painter, const QWidget *widget) const { - if (element == CE_Header) { + if (element == CE_HeaderLabel) { const QStyleOptionHeader *header_option = qstyleoption_cast(option); const QRect &rect = header_option->rect; const QString &text = header_option->text;