summaryrefslogtreecommitdiffstats
path: root/accounts
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-02-28 19:51:52 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-01 11:57:43 +0100
commitfea05bb0dba069c82b9dbe2a71b31f88cf54a712 (patch)
tree86516997de75fb734a03f9a532bc6d821aba847b /accounts
parent0203557d72eceddf19bbca8143e12be95adab2d7 (diff)
downloadkube-fea05bb0dba069c82b9dbe2a71b31f88cf54a712.tar.gz
kube-fea05bb0dba069c82b9dbe2a71b31f88cf54a712.zip
Avoid "Unable to assign...." errors
i.e. "Unable to assign [undefined] to Sink::ApplicationDomain::Folder::Ptr" Because qml does not know how to assign a default-constructed value we have to use conditional bindings. The !! operator checks for availability of the property which then triggers the binding. I assume an alternative viable approach would be to expose all controller properties as QVariants only, in which case an assignment from null would work (it doesn't for Folder::Ptr).
Diffstat (limited to 'accounts')
0 files changed, 0 insertions, 0 deletions