PlaylistProxyStyle: Use CE_HeaderLabel instead of CE_Header
This commit is contained in:
parent
e172c4871c
commit
604a246fe8
|
@ -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<const QStyleOptionHeader*>(option);
|
||||
const QRect &rect = header_option->rect;
|
||||
const QString &text = header_option->text;
|
||||
|
|
Loading…
Reference in New Issue