enable a tip on osx, remove trailing whitespaces
authorkoda
Mon, 22 Aug 2011 14:46:54 +0200
changeset 5646 1d44c448cfa4
parent 5643 1617a8636451
child 5648 e61e36bb22a8
enable a tip on osx, remove trailing whitespaces
QTfrontend/about.cpp
QTfrontend/pagemain.cpp
--- a/QTfrontend/about.cpp	Mon Aug 22 14:20:36 2011 +0200
+++ b/QTfrontend/about.cpp	Mon Aug 22 14:46:54 2011 +0200
@@ -26,17 +26,17 @@
   QWidget(parent)
 {
     QGridLayout *mainLayout = new QGridLayout(this);
-        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);
-        mainLayout->addWidget(imageLabel, 0, 0, 2, 1);
+    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);
+
+    mainLayout->addWidget(imageLabel, 0, 0, 2, 1);
 
     QLabel *lbl1 = new QLabel(this);
 
--- a/QTfrontend/pagemain.cpp	Mon Aug 22 14:20:36 2011 +0200
+++ b/QTfrontend/pagemain.cpp	Mon Aug 22 14:46:54 2011 +0200
@@ -104,14 +104,12 @@
         Tips << tr("Really want to wear a specific hat? Donate to us and receive an exclusive hat of your choice!", "Tips");
         // The following tip will require links to app store entries first.
         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
+        // the ios version is located here: http://itunes.apple.com/us/app/hedgewars/id391234866
         Tips << tr("Keep your video card drivers up to date to avoid issues playing the game.", "Tips");
-        //Tips << tr("", "Tips");
-#ifndef __APPLE__
         Tips << tr("You're able to associate Hedgewars related files (savegames and demo recordings) with the game to launch them right from your favorite file or internet browser.", "Tips");
-#endif
 #ifdef _WIN32
         Tips << tr("You can find your Hedgewars configuration files under \"My Documents\\Hedgewars\". Create backups or take the files with you, but don't edit them by hand.", "Tips");
-#elif defined __APPLE__                                                                                                                     
+#elif defined __APPLE__
         Tips << tr("You can find your Hedgewars configuration files under \"Library/Application Support/Hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips");
 #else  
         Tips << tr("You can find your Hedgewars configuration files under \".hedgewars\" in your home directory. Create backups or take the files with you, but don't edit them by hand.", "Tips");