35:d0f08a77a798 | 36:b8fa9171be6e |
---|---|
281 | 281 |
282 if (!dlg->exec()) | 282 if (!dlg->exec()) |
283 return 1; | 283 return 1; |
284 } | 284 } |
285 | 285 |
286 QStringList cmdlineList ({ | 286 QStringList cmdlineList; |
287 "-playdemo", path, | 287 cmdlineList << "-playdemo" << path << "-iwad" << iwadpath; |
288 "-iwad", iwadpath, | |
289 }); | |
290 | 288 |
291 if (pwadpaths.size() > 0) { | 289 if (pwadpaths.size() > 0) { |
292 cmdlineList << "-file"; | 290 cmdlineList << "-file"; |
293 cmdlineList << pwadpaths; | 291 cmdlineList << pwadpaths; |
294 } | 292 } |