Prevent crash in export-html
We need to instantiate the window title updater... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
7bf398549b
commit
ea6f6b959e
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user