diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-07 21:57:26 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-07 21:57:26 +0100 |
commit | ea6f6b959e6cd38b82da48bfd17bd62198f79133 (patch) | |
tree | 0ad0dca459acc33c77923cf0d3163d11191211fb /export-html.cpp | |
parent | 7bf398549b71d4f964223fdd6b5a10a87038838d (diff) | |
download | subsurface-ea6f6b959e6cd38b82da48bfd17bd62198f79133.tar.gz |
Prevent crash in export-html
We need to instantiate the window title updater...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'export-html.cpp')
-rw-r--r-- | export-html.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/export-html.cpp b/export-html.cpp index 940cb60df..4311d5eb4 100644 --- a/export-html.cpp +++ b/export-html.cpp @@ -11,6 +11,7 @@ #include "git2.h" #include "subsurfacestartup.h" #include "divelogexportlogic.h" +#include "windowtitleupdate.h" QTranslator *qtTranslator, *ssrfTranslator; @@ -40,7 +41,7 @@ int main(int argc, char **argv) qDebug() << "need --source and --output"; exit(1); } - + WindowTitleUpdate *wtu = new WindowTitleUpdate(); int ret = parse_file(qPrintable(source)); if (ret) { fprintf(stderr, "parse_file returned %d\n", ret); |