--- a/QTfrontend/hedgewars.qrc Wed Dec 19 01:02:06 2018 +0100
+++ b/QTfrontend/hedgewars.qrc Wed Dec 19 01:21:20 2018 +0100
@@ -44,6 +44,7 @@
<file>res/CampaignDefault.png</file>
<file>res/Multiplayer.png</file>
<file>res/Trainings.png</file>
+ <file>res/Challenges.png</file>
<file>res/Background.png</file>
<file>res/BackgroundChristmas.png</file>
<file>res/BackgroundEaster.png</file>
Binary file QTfrontend/res/Challenges.png has changed
Binary file QTfrontend/res/Challenges.xcf has changed
--- a/QTfrontend/ui/page/pagetraining.cpp Wed Dec 19 01:02:06 2018 +0100
+++ b/QTfrontend/ui/page/pagetraining.cpp Wed Dec 19 01:21:20 2018 +0100
@@ -321,6 +321,8 @@
if (QFile::exists(thumbFile))
btnPreview->setIcon(QIcon(thumbFile));
+ else if (tbw->currentWidget() == lstChallenges)
+ btnPreview->setIcon(QIcon(":/res/Challenges.png"));
else
btnPreview->setIcon(QIcon(":/res/Trainings.png"));