Necessary to fix compile with enable-final
svn path=/trunk/KDE/kdelibs/; revision=966210
This commit is contained in:
parent
b329238653
commit
efbba51e0a
@ -173,7 +173,8 @@ void BusyWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option
|
|||||||
}
|
}
|
||||||
|
|
||||||
painter->setPen(Plasma::Theme::defaultTheme()->color(Theme::HighlightColor));
|
painter->setPen(Plasma::Theme::defaultTheme()->color(Theme::HighlightColor));
|
||||||
painter->drawText(boundingRect(), d->label, QTextOption(Qt::AlignVCenter | Qt::AlignHCenter));
|
Qt::Alignment align(Qt::AlignVCenter | Qt::AlignHCenter);
|
||||||
|
painter->drawText(boundingRect(), d->label, QTextOption(align));
|
||||||
}
|
}
|
||||||
|
|
||||||
void BusyWidget::showEvent(QShowEvent *event)
|
void BusyWidget::showEvent(QShowEvent *event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user