Compile, and use the usual spacing between operators

svn path=/trunk/KDE/kdelibs/; revision=1136794
This commit is contained in:
Andreas Hartmetz 2010-06-10 19:05:16 +00:00
parent c40ea8e691
commit c7b2aa9134

View File

@ -423,7 +423,7 @@ void PushButton::paint(QPainter *painter,
// If the height is too small increase the Height of the button to shall the whole text #192988 // If the height is too small increase the Height of the button to shall the whole text #192988
if (rect.height() < fm.height()) { if (rect.height() < fm.height()) {
rect.setHeight(fm.height()); rect.setHeight(fm.height());
rect.moveTop(boundingRect().center().y()-rect.height()/2) rect.moveTop(boundingRect().center().y() - rect.height() / 2);
} }
// If there is not enough room for the text make it to fade out // If there is not enough room for the text make it to fade out