JsExpander: Do not crash on exit

Change-Id: I55caca6dd5b316b2573b443175448d732101871c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2014-09-18 16:11:34 +02:00
parent 2b89e759cf
commit a5828911be
4 changed files with 4 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ class CppToolsJsExtension : public QObject
Q_OBJECT
public:
CppToolsJsExtension(QObject *parent) : QObject(parent) { }
CppToolsJsExtension(QObject *parent = 0) : QObject(parent) { }
// Generate header guard:
Q_INVOKABLE QString headerGuard(const QString &in) const;