Necessary to fix compile with enable-final

svn path=/trunk/KDE/kdelibs/; revision=966210
This commit is contained in:
Laurent Montel 2009-05-10 16:15:42 +00:00
parent b329238653
commit efbba51e0a

View File

@ -173,7 +173,8 @@ void BusyWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option
}
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)