diff options
Diffstat (limited to 'src/qml/qml/qqmllocale_p.h')
-rw-r--r-- | src/qml/qml/qqmllocale_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmllocale_p.h b/src/qml/qml/qqmllocale_p.h index 4ad9d6dbf6..859c36e11b 100644 --- a/src/qml/qml/qqmllocale_p.h +++ b/src/qml/qml/qqmllocale_p.h @@ -165,7 +165,7 @@ struct QQmlLocaleData : public QV4::Object const QQmlLocaleData *data = o ? o->as<QQmlLocaleData>() : nullptr; if (!data) { scope.engine->throwTypeError(); - return 0; + return nullptr; } return data->d()->locale; } |