summaryrefslogtreecommitdiffstats
path: root/src/trace.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-03-26 15:10:12 +0900
committerMichele Calgaro <[email protected]>2020-03-26 15:10:12 +0900
commit88fbf7e81a6ab317262bd97875a0296f59287586 (patch)
tree0effe4e64f5cdf3c0aa42e8ca8096cca8b6ddc89 /src/trace.cpp
parent5c2a45303ead893a78c69ddbef21d5acedf654ff (diff)
downloadtdedocker-88fbf7e81a6ab317262bd97875a0296f59287586.tar.gz
tdedocker-88fbf7e81a6ab317262bd97875a0296f59287586.zip
1) Additional work on tq app -> tde app translation.
2) Make sure to exit app after restore if no app window can be grabbed 3) Save state only for known applications (app with empty name will not be saved and restored) Signed-off-by: Michele Calgaro <[email protected]>
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();
}
}