fix
issue #664 ("Quick game will fail if the randomly chosen theme is a DLC/custom one")
--- a/QTfrontend/game.cpp Tue Jun 04 21:59:01 2013 +0200
+++ b/QTfrontend/game.cpp Fri Jun 07 16:35:48 2013 +0200
@@ -153,7 +153,7 @@
HWProto::addStringToBuffer(teamscfg, "TL");
HWProto::addStringToBuffer(teamscfg, QString("etheme %1")
- .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data().toString() : "steel"));
+ .arg((themeModel->rowCount() > 0) ? themeModel->index(rand() % themeModel->rowCount()).data(ThemeModel::ActualNameRole).toString() : "steel"));
HWProto::addStringToBuffer(teamscfg, "eseed " + QUuid::createUuid().toString());
HWProto::addStringToBuffer(teamscfg, "e$template_filter 2");