summaryrefslogtreecommitdiff
path: root/src/plugins/coreplugin/jsexpander.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2018-05-07 17:34:42 +0200
committerTobias Hunger <tobias.hunger@qt.io>2018-05-08 07:42:55 +0000
commit05dd3285fcaa9e653df4e8f9daf3c006f076929c (patch)
tree6647bc39801a270f3014674448a84d545fbede03 /src/plugins/coreplugin/jsexpander.h
parente2c4186f99301310c88cdb66e43c31614c66a4e2 (diff)
downloadqt-creator-05dd3285fcaa9e653df4e8f9daf3c006f076929c.tar.gz
Core: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr. Change-Id: I62a9388ab873410555f45a8a6f9b0149467ddbaa Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/coreplugin/jsexpander.h')
-rw-r--r--src/plugins/coreplugin/jsexpander.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/jsexpander.h b/src/plugins/coreplugin/jsexpander.h
index dbffc8c159..087f494ac0 100644
--- a/src/plugins/coreplugin/jsexpander.h
+++ b/src/plugins/coreplugin/jsexpander.h
@@ -41,7 +41,7 @@ class CORE_EXPORT JsExpander
public:
static void registerQObjectForJs(const QString &name, QObject *obj);
- static QString evaluate(const QString &expression, QString *errorMessage = 0);
+ static QString evaluate(const QString &expression, QString *errorMessage = nullptr);
private:
JsExpander();