equal
deleted
inserted
replaced
100 void QMenuBarExtension::paintEvent(QPaintEvent *) |
100 void QMenuBarExtension::paintEvent(QPaintEvent *) |
101 { |
101 { |
102 QStylePainter p(this); |
102 QStylePainter p(this); |
103 QStyleOptionToolButton opt; |
103 QStyleOptionToolButton opt; |
104 initStyleOption(&opt); |
104 initStyleOption(&opt); |
105 // We do not need to draw both extention arrows |
105 // We do not need to draw both extension arrows |
106 opt.features &= ~QStyleOptionToolButton::HasMenu; |
106 opt.features &= ~QStyleOptionToolButton::HasMenu; |
107 p.drawComplexControl(QStyle::CC_ToolButton, opt); |
107 p.drawComplexControl(QStyle::CC_ToolButton, opt); |
108 } |
108 } |
109 |
109 |
110 |
110 |