--- a/QTfrontend/ammoSchemeModel.cpp Thu Mar 12 13:55:47 2009 +0000
+++ b/QTfrontend/ammoSchemeModel.cpp Thu Mar 12 20:19:33 2009 +0000
@@ -30,7 +30,7 @@
<< "0" // solid land
<< "0" // border
<< "45" // turn time
- << "100" // init health
+ << "101" // init health
<< "15" // sudden death
<< "5" // case probability
;
@@ -107,5 +107,5 @@
|| role != Qt::DisplayRole)
return QVariant();
- return schemes[index.row()][index.column()];
+ return QVariant::fromValue(schemes[index.row()][index.column()]);
}