Re: [Development] QWebChannel setTimeout

2014-07-06 Thread Hausmann Simon
: Milian Wolff Sendt: 02:33 lørdag 5. juli 2014 Til: development@qt-project.org Emne: Re: [Development] QWebChannel setTimeout On Friday 04 July 2014 13:41:28 Bernd Lamecker wrote: Hi, is there a special reason why you call setTimeout(function() { channel.exec({type: QWebChannelMessageTypes.idle

Re: [Development] QWebChannel setTimeout

2014-07-06 Thread Chris Adams
lørdag 5. juli 2014 Til: development@qt-project.org Emne: Re: [Development] QWebChannel setTimeout On Friday 04 July 2014 13:41:28 Bernd Lamecker wrote: Hi, is there a special reason why you call setTimeout(function() { channel.exec({type: QWebChannelMessageTypes.idle}); }, 0); (Line

[Development] QWebChannel setTimeout

2014-07-04 Thread Bernd Lamecker
Hi, is there a special reason why you call setTimeout(function() { channel.exec({type: QWebChannelMessageTypes.idle}); }, 0); (Line 179 197 in qwebchannel.js) via setTimeout? For me this also works without doing a singleshot. But the setTimeout function is not defined when including

Re: [Development] QWebChannel setTimeout

2014-07-04 Thread Milian Wolff
On Friday 04 July 2014 13:41:28 Bernd Lamecker wrote: Hi, is there a special reason why you call setTimeout(function() { channel.exec({type: QWebChannelMessageTypes.idle}); }, 0); (Line 179 197 in qwebchannel.js) via setTimeout? For me this also works without doing a singleshot. But the

Re: [Development] QWebChannel setTimeout

2014-07-04 Thread Hausmann Simon
Let me ask the other way around: is there a special reason why you're including qwebchannel.js in a qml application? :) Simon Opprinnelig melding Fra: Bernd Lamecker Sendt: 19:41 fredag 4. juli 2014 Til: development@qt-project.org Emne: [Development] QWebChannel setTimeout Hi