src/demo.cpp

changeset 36
b8fa9171be6e
parent 30
6b82f6a3ad53
child 37
c82a86ea87be
--- a/src/demo.cpp	Mon Jun 01 05:32:30 2015 +0000
+++ b/src/demo.cpp	Mon Jun 01 17:06:13 2015 +0300
@@ -283,10 +283,8 @@
 			return 1;
 	}
 
-	QStringList cmdlineList ({
-		"-playdemo", path,
-		"-iwad", iwadpath,
-	});
+	QStringList cmdlineList;
+	cmdlineList << "-playdemo" << path << "-iwad" << iwadpath;
 	
 	if (pwadpaths.size() > 0) {
 		cmdlineList << "-file";
@@ -298,4 +296,4 @@
 	proc->start (binarypath, cmdlineList);
 	proc->waitForFinished (-1);
 	return 0;
-}
\ No newline at end of file
+}

mercurial