Try to make compile on Qt 5.4

This commit is contained in:
Teo Mrnjavac 2014-10-28 18:20:28 +01:00
parent a97297a3fe
commit 633c8512c2

View file

@ -78,7 +78,7 @@ chrootCall( const QString& command,
const QString& stdInput, const QString& stdInput,
int timeoutSec ) int timeoutSec )
{ {
return chrootCall( { command }, return chrootCall( QStringList{ command },
workingPath, workingPath,
stdInput, stdInput,
timeoutSec ); timeoutSec );
@ -170,7 +170,7 @@ chrootOutput( const QString& command,
const QString& stdInput, const QString& stdInput,
int timeoutSec ) int timeoutSec )
{ {
return chrootOutput( { command }, return chrootOutput( QStringList{ command },
output, output,
workingPath, workingPath,
stdInput, stdInput,