diff options
| author | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-01-14 20:54:13 +0100 |
|---|---|---|
| committer | Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> | 2015-01-20 14:37:40 +0100 |
| commit | 3b834f53049ff54334c87ca5d00f0644baeddb3a (patch) | |
| tree | 5fcb79373d0a41e5b67737c1001a02cecc57f033 /src/qml/jsruntime/qv4arrayobject.cpp | |
| parent | 606ce564d82dd099fb1fca939692839cf571b1ac (diff) | |
QQmlValueTypeWrapper: Use QVariant to QString conversion if possible
This makes it easier to customize displaying Q_GADGETs that don't
have a toString() function defined. Instead of having to define
a wrapper Q_GADGET class, it's more straightforward to register a
meta-type converter. Finally, it ensures consistent value displays
between QML and the rest.
Change-Id: I76f93ee0bafabd74f311130972b49c572b38f43f
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4arrayobject.cpp')
0 files changed, 0 insertions, 0 deletions
