QMacStyle: Remove unused variable warning
Change-Id: Id6116ad110ac39898e9c44ae41c6d7eec96f58d7 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
b3f7bea105
commit
9ec73b85aa
@ -2340,7 +2340,7 @@ void QMacStyle::unpolish(QWidget* w)
|
||||
#endif
|
||||
|
||||
#ifndef QT_NO_TABBAR
|
||||
if (QTabBar *tb = qobject_cast<QTabBar*>(w)) {
|
||||
if (qobject_cast<QTabBar*>(w)) {
|
||||
if (!w->testAttribute(Qt::WA_SetFont))
|
||||
w->setFont(qApp->font(w));
|
||||
if (!w->testAttribute(Qt::WA_SetPalette))
|
||||
|
Loading…
Reference in New Issue
Block a user