diff options
author | Dirk Mueller <mueller@kde.org> | 2013-01-04 12:45:24 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-29 06:32:45 (GMT) |
commit | 8da495d38d8e5fe134fe5508144da68a3bb2d21c (patch) | |
tree | 7ee835a5bfaa3cb7e9101c82a7e2e9b2ceb1d75e /src/gui/dialogs | |
parent | fbc9134051c40f45ca606d204e000a4987ad8ff2 (diff) | |
download | Qt-8da495d38d8e5fe134fe5508144da68a3bb2d21c.zip Qt-8da495d38d8e5fe134fe5508144da68a3bb2d21c.tar.gz Qt-8da495d38d8e5fe134fe5508144da68a3bb2d21c.tar.bz2 |
Try harder in matching the method signature
In cases where the Propertiesdialog has no specific Implementation
for a dbus data type, it creates a regular QLineEdit. In such cases,
qdbusviewer then tried to call the method with the arg set to a string
instead of the real datatype (for example uint64), which usually does not work.
We can be more clever and try to implicitely convert the user input
to the right datatype, which makes the invocation succeed.
Change-Id: I9e16be6e7c5209745f2fa0c32acf08a3c42178f1
(cherry-pick of qttools/0c22eb9d9d1a0b72622fdf16ebf60712336b449e)
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/dialogs')
0 files changed, 0 insertions, 0 deletions