QTfrontend/ui/page/pagegamestats.cpp
changeset 10393 c3daae6fd723
parent 10108 c68cf030eded
child 11046 47a8c19ecb60
equal deleted inserted replaced
10392:5012e1f9e893 10393:c3daae6fd723
   206             break;
   206             break;
   207         }
   207         }
   208         case 'D' :
   208         case 'D' :
   209         {
   209         {
   210             int i = info.indexOf(' ');
   210             int i = info.indexOf(' ');
   211             QString message = "<p><img src=\":/res/StatsBestShot.png\"> " + PageGameStats::tr("The best shot award was won by <b>%1</b> with <b>%2</b> pts.").arg(info.mid(i + 1), info.left(i)) + "</p>";
   211             int num = info.left(i).toInt();
       
   212             QString message = "<p><img src=\":/res/StatsBestShot.png\"> " + PageGameStats::tr("The best shot award was won by <b>%1</b> with <b>%2</b> pts.", "", num).arg(info.mid(i + 1), info.left(i)) + "</p>";
   212             AddStatText(message);
   213             AddStatText(message);
   213             break;
   214             break;
   214         }
   215         }
   215         case 'k' :
   216         case 'k' :
   216         {
   217         {