From ea6f6b959e6cd38b82da48bfd17bd62198f79133 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 7 Oct 2015 21:57:26 +0100 Subject: Prevent crash in export-html We need to instantiate the window title updater... Signed-off-by: Dirk Hohndel --- export-html.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'export-html.cpp') 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); -- cgit v1.2.3-70-g09d2