QTfrontend/game.cpp
branchflibqtfrontend
changeset 8133 2d0f56423eb3
parent 8130 4cab13c82b4e
child 8210 ad178654142a
--- a/QTfrontend/game.cpp	Tue Nov 27 00:29:41 2012 +0400
+++ b/QTfrontend/game.cpp	Tue Nov 27 10:05:24 2012 +0400
@@ -59,7 +59,7 @@
     switch (gameType)
     {
         case gtDemo:
-            // for video recording we need demo anyway 
+            // for video recording we need demo anyway
             emit HaveRecord(rtNeither, demo);
             break;
         case gtNet:
@@ -343,7 +343,7 @@
     gameSetup.style = NULL;
     gameSetup.gamescheme = flib_scheme_create("Default");
     gameSetup.map = flib_map_create_regular(
-                QUuid::createUuid().toByteArray().constData()
+                QUuid::createUuid().toString().toAscii().constData()
                 , themeModel->rowCount() > 0 ? themeModel->index(rand() % themeModel->rowCount()).data().toString().toUtf8().constData() : "Sheep"
                 , 2);
     gameSetup.teamlist = flib_teamlist_create();