work save
This commit is contained in:
parent
9244370ea4
commit
73d578b7e4
|
@ -33,7 +33,7 @@ bool FileCompiler::prepareForCompile()
|
|||
mOutputFile = getCompiledExecutableName(mFilename);
|
||||
mArguments+=QString(" -o \"%1\"").arg(mOutputFile);
|
||||
|
||||
//remove the old file it exists
|
||||
//remove the old file if it exists
|
||||
QFile outputFile(mOutputFile);
|
||||
if (outputFile.exists()) {
|
||||
if (!outputFile.remove()) {
|
||||
|
|
Loading…
Reference in New Issue