QTfrontend/ui/page/pagemain.cpp
changeset 8635 c1c6b815691e
parent 8622 2045bdf1b11b
child 8676 c00f1df47cef
--- a/QTfrontend/ui/page/pagemain.cpp	Sun Mar 03 20:59:27 2013 -0500
+++ b/QTfrontend/ui/page/pagemain.cpp	Mon Mar 04 10:08:38 2013 +0100
@@ -127,17 +127,15 @@
 {
     initPage();
 
-    if(frontendEffects) setAttribute(Qt::WA_NoSystemBackground, true);
+    if(frontendEffects)
+        setAttribute(Qt::WA_NoSystemBackground, true);
     mainNote->setOpenExternalLinks(true);
 
-    if(!isDevBuild)
-    {
-        setDefautDescription(QLabel::tr("Tip: ") + randomTip());
-    }
-    else
-    {
-        setDefautDescription(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game, while some features might be broken or incomplete!"));
-    }
+#ifdef DEBUG
+    setDefautDescription(QLabel::tr("This development build is 'work in progress' and may not be compatible with other versions of the game, while some features might be broken or incomplete!"));
+#else
+    setDefautDescription(QLabel::tr("Tip: ") + randomTip());
+#endif
 
 }