diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-07 09:56:09 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-05-07 12:25:49 +0200 |
commit | e021ff7ba2b6f017805b8c838b95269ec695def5 (patch) | |
tree | 4ba5fcb19111f875add6bbe6a2f91a04548ba32f /src/imports | |
parent | 1abed74e211585ef9d8aab46ab924a212860c5fe (diff) |
Replace v8::Null() with QV4::Value::nullValue()
Change-Id: I7901d5282afd71c1fd66bab223b2811f0d14b5f1
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/localstorage/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp index d1aaafc9aa..7e4b805ad6 100644 --- a/src/imports/localstorage/plugin.cpp +++ b/src/imports/localstorage/plugin.cpp @@ -200,7 +200,7 @@ static v8::Handle<v8::Value> qmlsqldatabase_rows_index(QV8SqlDatabaseResource *r for (int ii = 0; ii < record.count(); ++ii) { QVariant v = record.value(ii); if (v.isNull()) { - row->Set(r->engine->toString(record.fieldName(ii)), v8::Null()); + row->Set(r->engine->toString(record.fieldName(ii)), QV4::Value::nullValue()); } else { row->Set(r->engine->toString(record.fieldName(ii)), r->engine->fromVariant(v)); |