summaryrefslogtreecommitdiffstats
path: root/tools/qscxmlc/qscxmlc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/qscxmlc/qscxmlc.cpp')
-rw-r--r--tools/qscxmlc/qscxmlc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/qscxmlc/qscxmlc.cpp b/tools/qscxmlc/qscxmlc.cpp
index 1bee7cf..adcc0b4 100644
--- a/tools/qscxmlc/qscxmlc.cpp
+++ b/tools/qscxmlc/qscxmlc.cpp
@@ -66,7 +66,9 @@ int write(TranslationUnit *tu)
QTextStream c(&outCpp);
CppDumper dumper(h, c);
dumper.dump(tu);
+ h.flush();
outH.close();
+ c.flush();
outCpp.close();
return NoError;
}