bugfix. correct crossplatform tips 0.9.14
authornemo
Fri, 12 Nov 2010 18:24:11 -0500
branch0.9.14
changeset 4255 e59a026758af
parent 4253 160f987a5d9f
child 4257 21f168609f53
bugfix. correct crossplatform tips
QTfrontend/pages.cpp
--- a/QTfrontend/pages.cpp	Fri Nov 12 17:54:49 2010 -0500
+++ b/QTfrontend/pages.cpp	Fri Nov 12 18:24:11 2010 -0500
@@ -145,11 +145,15 @@
         //Tips << tr("Want to play Hedgewars any time? Grab the Mobile version for %1 and %2.", "Tips").arg("").arg("");
         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");
-        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");
-#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");
+#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");
 #endif
         mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]);
     }