QTfrontend/hwform.cpp
changeset 4902 45ec26ca9491
parent 4897 11598e7aa7e6
child 4908 99d6797b7ff4
equal deleted inserted replaced
4901:d1e2d82d9ccc 4902:45ec26ca9491
  1015     QString recordFileName =
  1015     QString recordFileName =
  1016             config->appendDateTimeToRecordName() ?
  1016             config->appendDateTimeToRecordName() ?
  1017                 QDateTime::currentDateTime().toString("yyyy-MM-dd_hh-mm") :
  1017                 QDateTime::currentDateTime().toString("yyyy-MM-dd_hh-mm") :
  1018                 "LastRound";
  1018                 "LastRound";
  1019 
  1019 
       
  1020     QStringList versionParts = cVersionString->split('-');
       
  1021     if ( (versionParts.size() == 2) && (!versionParts[1].isEmpty()) && (versionParts[1].contains(':')) )
       
  1022         recordFileName = recordFileName + "_" + versionParts[1].replace(':','-');
       
  1023 
  1020     if (isDemo)
  1024     if (isDemo)
  1021     {
  1025     {
  1022         demo.replace(QByteArray("\x02TL"), QByteArray("\x02TD"));
  1026         demo.replace(QByteArray("\x02TL"), QByteArray("\x02TD"));
  1023         demo.replace(QByteArray("\x02TN"), QByteArray("\x02TD"));
  1027         demo.replace(QByteArray("\x02TN"), QByteArray("\x02TD"));
  1024         demo.replace(QByteArray("\x02TS"), QByteArray("\x02TD"));
  1028         demo.replace(QByteArray("\x02TS"), QByteArray("\x02TD"));