# HG changeset patch # User koda # Date 1314017214 -7200 # Node ID 1d44c448cfa412fa807d467b77be59aef00904b7 # Parent 1617a8636451a46b3b9de2e68e86efb4eda7a016 enable a tip on osx, remove trailing whitespaces diff -r 1617a8636451 -r 1d44c448cfa4 QTfrontend/about.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); diff -r 1617a8636451 -r 1d44c448cfa4 QTfrontend/pagemain.cpp --- 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");