QTfrontend/ammoSchemeModel.cpp
changeset 1887 d68939b3f7f0
parent 1885 75489216b5b0
child 1889 b8590b604fdd
--- 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()]);
 }