src/demo.cpp

changeset 21
99225eac33ba
parent 20
a5457405cc9b
child 22
2fe0b7e0da7b
--- a/src/demo.cpp	Sun Sep 08 16:14:58 2013 +0300
+++ b/src/demo.cpp	Sun Sep 08 16:53:31 2013 +0300
@@ -37,7 +37,7 @@
 	str out;
 	int skip = 0;
 	
-	for (const qchar& c : in) {
+	for (const QChar& c : in) {
 		if (skip-- > 0)
 			continue;
 		
@@ -67,7 +67,7 @@
 // =============================================================================
 // -----------------------------------------------------------------------------
 static bool isKnownVersion (str ver) {
-	for (const var& it : getVersions())
+	for (const QVariant& it : getVersions())
 		if (it.toString() == ver || it.toString() + 'M' == ver)
 			return true;
 	
@@ -85,7 +85,7 @@
 		exit (9);
 	}
 	
-	for (const var& it : cfg::wadpaths) {
+	for (const QVariant& it : cfg::wadpaths) {
 		str fullpath = fmt ("%1/%2", it.toString(), name);
 		QFile f (fullpath);
 		

mercurial