diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-09-25 12:24:36 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-28 13:33:24 +0200 |
commit | cf2a253f2f60c9f0c61682527d80143e72b355d4 (patch) | |
tree | d60e8be50437e6f15513e25155817b902a2062c7 /src/imports/dialogs-private | |
parent | 7872b380063d0497ba62fecfdc92148f1ea947af (diff) |
Move Value::fromBool, ... to a new Primitive class
This will simplify finding the remaining direct usages of
QV4::Value that need fixing.
Change-Id: I223099727436d5748027c84c53d9dfc4028e38ed
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/imports/dialogs-private')
-rw-r--r-- | src/imports/dialogs-private/qquickfontlistmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/dialogs-private/qquickfontlistmodel.cpp b/src/imports/dialogs-private/qquickfontlistmodel.cpp index 9d3b90f4d9..327f214145 100644 --- a/src/imports/dialogs-private/qquickfontlistmodel.cpp +++ b/src/imports/dialogs-private/qquickfontlistmodel.cpp @@ -241,7 +241,7 @@ QQmlV4Handle QQuickFontListModel::pointSizes() a->arrayReserve(size); a->arrayDataLen = size; for (int i = 0; i < size; ++i) - a->arrayData[i].value = Value::fromInt32(pss.at(i)); + a->arrayData[i].value = Primitive::fromInt32(pss.at(i)); a->setArrayLengthUnchecked(size); return QQmlV4Handle(ScopedValue(scope, a.asReturnedValue())); |