diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2013-07-26 17:11:19 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-07-30 09:22:42 +0200 |
commit | 5d192deed9ef7289e44cd936576d98b3afa2601a (patch) | |
tree | dfc11b7eddb518cc4af98cbdaa87010a8a426c8c /src/plugins/platforms/cocoa | |
parent | f52e9b117284d5dd80dcd4503e57d4cb8a839ae1 (diff) |
Fix crash on qdbus when return type is a raw dbus type
Assigning a -1 to type is going to make things crash since
it basically means unresolved and when you try to access the string data
go to a index that doesn't exist
So what I do is save the return type in rawReturnType if it is a raw
one and reassign the type to IsUnresolvedType | strings.enter(mm.rawReturnType)
instead of -1 when "saving" the metaobject
Task-number: QTBUG-32671
Change-Id: I67898dea8a1926eee80c16417e877ef4e22aa06b
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/plugins/platforms/cocoa')
0 files changed, 0 insertions, 0 deletions