summaryrefslogtreecommitdiffstats
path: root/src/trace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/trace.cpp')
-rw-r--r--src/trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trace.cpp b/src/trace.cpp
index 9f2d06d..5756a56 100644
--- a/src/trace.cpp
+++ b/src/trace.cpp
@@ -1,5 +1,4 @@
#ifdef ENABLE_TRACING
-#include <tqapplication.h>
#include <tqtextedit.h>
#include <tqfile.h>
#include <stdio.h>
@@ -38,6 +37,7 @@ void DUMP_TRACE(const char *f)
{
TQTextStream stream(&file);
stream << tracer->text();
+ file.close();
}
}