diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2014-01-29 12:35:43 -0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-31 00:15:51 +0100 |
commit | 15f8bc1f6ee94b84bebbd06de9db3ceacecad24d (patch) | |
tree | 0d802426611cb77630fa043bf45a9b0ebfc45806 /src/widgets/itemviews/qtreeview.cpp | |
parent | cc8e0d85e26f699ffa1e5eec3db9897a8bd417ff (diff) |
Also register complex D-Bus types when running under qdbus
When running inside qdbus, we generate the meta objects a little
differently. Previously, for unknown types we'd simply have a -1 as the
type ID in the meta object, but this doesn't work in Qt 5 (has
apparently never worked). So simply register a type with the metatype
system and let QMetaObject do its thing.
[ChangeLog][qdbus]Fixed a bug that caused the qdbus tool to crash
when trying to display remote interfaces that had complex types
without a matching base Qt type.
Task-number: QTBUG-36524
Change-Id: Ifef65b340dc89d3295ed6ef00f2dcc60849ecb02
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/widgets/itemviews/qtreeview.cpp')
0 files changed, 0 insertions, 0 deletions