QToolBox: remove redundant QAbstractButton::text() from paintEvent()
Change-Id: I95773096ca1b915468c086ba61eba2e3e551a7e3 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
This commit is contained in:
parent
ca6fb5436d
commit
4c6ab8f9e2
@ -232,7 +232,6 @@ void QToolBoxButton::initStyleOption(QStyleOptionToolBox *option) const
|
||||
void QToolBoxButton::paintEvent(QPaintEvent *)
|
||||
{
|
||||
QPainter paint(this);
|
||||
QString text = QAbstractButton::text();
|
||||
QPainter *p = &paint;
|
||||
QStyleOptionToolBoxV2 opt;
|
||||
initStyleOption(&opt);
|
||||
|
Loading…
Reference in New Issue
Block a user