equal
deleted
inserted
replaced
203 { |
203 { |
204 // TODO also use .pngs in userdata folder |
204 // TODO also use .pngs in userdata folder |
205 QString thumbFile = datadir->absolutePath() + |
205 QString thumbFile = datadir->absolutePath() + |
206 "/Graphics/Missions/Training/" + |
206 "/Graphics/Missions/Training/" + |
207 lstMissions->currentItem()->data(Qt::UserRole).toString() + |
207 lstMissions->currentItem()->data(Qt::UserRole).toString() + |
208 ".png"; |
208 "@2x.png"; |
209 |
209 |
210 if (QFile::exists(thumbFile)) |
210 if (QFile::exists(thumbFile)) |
211 btnPreview->setIcon(QIcon(thumbFile)); |
211 btnPreview->setIcon(QIcon(thumbFile)); |
212 else |
212 else |
213 btnPreview->setIcon(QIcon(":/res/Trainings.png")); |
213 btnPreview->setIcon(QIcon(":/res/Trainings.png")); |