Hedgewars.png had a resolution more than twice as high as required; also fixed some (mostly obsolete) code that also contained a typo that would cause a warning/note in clang
authorsheepluva
Wed, 05 Jun 2013 15:27:00 +0200
changeset 9131 07f3bf8d98a3
parent 9128 19596777eb7a
child 9134 9330bacf2569
Hedgewars.png had a resolution more than twice as high as required; also fixed some (mostly obsolete) code that also contained a typo that would cause a warning/note in clang
QTfrontend/res/Hedgehog.png
QTfrontend/ui/widget/about.cpp
Binary file QTfrontend/res/Hedgehog.png has changed
--- a/QTfrontend/ui/widget/about.cpp	Wed Jun 05 14:00:29 2013 +0200
+++ b/QTfrontend/ui/widget/about.cpp	Wed Jun 05 15:27:00 2013 +0200
@@ -52,11 +52,8 @@
     QLabel *imageLabel = new QLabel;
     QImage image(":/res/Hedgehog.png");
     imageLabel->setPixmap(QPixmap::fromImage(image));
-    imageLabel->setScaledContents(true);
-    imageLabel->setMinimumWidth(2.8);
-    imageLabel->setMaximumWidth(280);
-    imageLabel->setMinimumHeight(30);
-    imageLabel->setMaximumHeight(300);
+    imageLabel->setFixedWidth(273);
+    imageLabel->setFixedHeight(300);
 
     leftLayout->addWidget(imageLabel, 0, Qt::AlignHCenter);