forked from qt-creator/qt-creator
JsExpander: Do not crash on exit
Change-Id: I55caca6dd5b316b2573b443175448d732101871c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user