merge (could have grafted)
authorkoda
Tue, 11 Jun 2013 02:42:52 +0200
changeset 9186 d87e2c7838fa
parent 9185 115e7daa4796 (current diff)
parent 9124 955a90b88865 (diff)
child 9187 a15ea245adf9
child 9188 ba9cca49a5e2
merge (could have grafted)
--- a/QTfrontend/game.cpp	Tue Jun 11 02:39:45 2013 +0200
+++ b/QTfrontend/game.cpp	Tue Jun 11 02:42:52 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");