--- a/src/extPrograms.cc Sat Sep 06 20:40:58 2014 +0300 +++ b/src/extPrograms.cc Sat Sep 06 23:18:26 2014 +0300 @@ -281,9 +281,9 @@ if (not err.isEmpty()) { CriticalError (format ("%1 failed: %2\n", g_extProgNames[prog], err)); - QString filename ("externalProgramOutput.txt"); QFile file (filename); + if (file.open (QIODevice::WriteOnly | QIODevice::Text)) { file.write (proc.readAllStandardOutput()); @@ -295,6 +295,7 @@ print ("Couldn't open %1 for writing: %2", QFileInfo (filename).absoluteFilePath(), file.errorString()); } + return false; }