diff options
author | Michele Calgaro <[email protected]> | 2020-03-26 15:10:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-03-26 15:10:12 +0900 |
commit | 88fbf7e81a6ab317262bd97875a0296f59287586 (patch) | |
tree | 0effe4e64f5cdf3c0aa42e8ca8096cca8b6ddc89 /src/trace.cpp | |
parent | 5c2a45303ead893a78c69ddbef21d5acedf654ff (diff) | |
download | tdedocker-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.cpp | 2 |
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(); } } |