From c7b2aa9134cd174920efaf304d21b83d09d1efd6 Mon Sep 17 00:00:00 2001 From: Andreas Hartmetz Date: Thu, 10 Jun 2010 19:05:16 +0000 Subject: [PATCH] Compile, and use the usual spacing between operators svn path=/trunk/KDE/kdelibs/; revision=1136794 --- widgets/pushbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/pushbutton.cpp b/widgets/pushbutton.cpp index 120029d8a..5b8c2f519 100644 --- a/widgets/pushbutton.cpp +++ b/widgets/pushbutton.cpp @@ -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 (rect.height() < 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