diff -r 65602f1ef0f8 -r f77bb02b669f QTfrontend/ui/widget/SquareLabel.cpp --- a/QTfrontend/ui/widget/SquareLabel.cpp Mon Jan 30 23:20:28 2012 +0100 +++ b/QTfrontend/ui/widget/SquareLabel.cpp Mon Jan 30 17:32:18 2012 -0500 @@ -33,10 +33,13 @@ QPainter painter(this); int pixsize; - if (width() > height()) { + if (width() > height()) + { pixsize = height(); painter.translate((width() - pixsize) / 2, 0); - } else { + } + else + { pixsize = width(); painter.translate(0, (height() - pixsize) / 2); }