QTfrontend/hwform.cpp
changeset 4902 45ec26ca9491
parent 4897 11598e7aa7e6
child 4908 99d6797b7ff4
--- a/QTfrontend/hwform.cpp	Tue Feb 01 19:49:10 2011 +0100
+++ b/QTfrontend/hwform.cpp	Wed Feb 02 07:40:36 2011 +0100
@@ -1017,6 +1017,10 @@
                 QDateTime::currentDateTime().toString("yyyy-MM-dd_hh-mm") :
                 "LastRound";
 
+    QStringList versionParts = cVersionString->split('-');
+    if ( (versionParts.size() == 2) && (!versionParts[1].isEmpty()) && (versionParts[1].contains(':')) )
+        recordFileName = recordFileName + "_" + versionParts[1].replace(':','-');
+
     if (isDemo)
     {
         demo.replace(QByteArray("\x02TL"), QByteArray("\x02TD"));