aboutsummaryrefslogtreecommitdiff
path: root/target/moxie/helper.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-02-17 21:38:20 +0100
committerMarkus Armbruster <armbru@redhat.com>2017-02-22 19:52:06 +0100
commit363e13f86eb60bce1e112a35a4c107505a69c9fe (patch)
tree76361fe0824ba2f7488e03af988905b1f307f468 /target/moxie/helper.h
parentcd17ba51f5b25196c52afe5dfdd27c7dc8621cf4 (diff)
tests: Don't check qobject_type() before qobject_to_qstring()
qobject_to_qstring(obj) returns NULL when obj isn't a QString. Check that instead of qobject_type(obj) == QTYPE_QSTRING. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1487363905-9480-10-git-send-email-armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'target/moxie/helper.h')
0 files changed, 0 insertions, 0 deletions