src/Document.cc

changeset 648
ed6170728ae4
parent 644
93dcd1a0e4bd
child 690
9e9c52ca955e
--- a/src/Document.cc	Wed Mar 05 17:29:27 2014 +0200
+++ b/src/Document.cc	Wed Mar 05 18:30:04 2014 +0200
@@ -281,9 +281,9 @@
 	{
 		// Look in sub-directories: parts and p. Also look in net_downloadpath, since that's
 		// where we download parts from the PT to.
-		for (const QString& topdir : initlist<QString> ({ io_ldpath, net_downloadpath }))
+		for (const QString& topdir : QList<QString> ({ io_ldpath, net_downloadpath }))
 		{
-			for (const QString& subdir : initlist<QString> ({ "parts", "p" }))
+			for (const QString& subdir : QList<QString> ({ "parts", "p" }))
 			{
 				fullPath = format ("%1" DIRSLASH "%2" DIRSLASH "%3", topdir, subdir, relpath);
 

mercurial