How to connect two signal from XMLListModel to one function (if xmllistmodel1 and xmllistmodel2 have status=ready run function, if not=wait)
onStatusChanged: if ( xmlModelReceived.status == XmlListModel.Ready && xmlModelSended.status== XmlListModel.Ready)
{
function();
}
onStatusChanged: if ( xmlModelReceived.status == XmlListModel.Ready && xmlModelSended.status== XmlListModel.Ready)
{
function();
}
To copy to clipboard, switch view to plain text mode
This is work, but now always, because sometimes xmllistmodel2 is not ready, so function doesn't wait.
Thanks for reply.
Bookmarks