QTfrontend/ui/page/pagemain.cpp
changeset 8635 c1c6b815691e
parent 8622 2045bdf1b11b
child 8676 c00f1df47cef
equal deleted inserted replaced
8634:5dcb1dc9e01b 8635:c1c6b815691e
   125 
   125 
   126 PageMain::PageMain(QWidget* parent) : AbstractPage(parent)
   126 PageMain::PageMain(QWidget* parent) : AbstractPage(parent)
   127 {
   127 {
   128     initPage();
   128     initPage();
   129 
   129 
   130     if(frontendEffects) setAttribute(Qt::WA_NoSystemBackground, true);
   130     if(frontendEffects)
       
   131         setAttribute(Qt::WA_NoSystemBackground, true);
   131     mainNote->setOpenExternalLinks(true);
   132     mainNote->setOpenExternalLinks(true);
   132 
   133 
   133     if(!isDevBuild)
   134 #ifdef DEBUG
   134     {
   135     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!"));
   135         setDefautDescription(QLabel::tr("Tip: ") + randomTip());
   136 #else
   136     }
   137     setDefautDescription(QLabel::tr("Tip: ") + randomTip());
   137     else
   138 #endif
   138     {
       
   139         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!"));
       
   140     }
       
   141 
   139 
   142 }
   140 }
   143 
   141 
   144 QString PageMain::randomTip() const
   142 QString PageMain::randomTip() const
   145 {
   143 {