equal
deleted
inserted
replaced
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 { |