Fixing idlestate if used with synchronous transport


If QtWebChannel is used with a synchronous transport it can
happen that the clients idle state is wrong because the clients
idle message is received before the idle state is set to
'false'.
This patch changes the order of setting the idle state and
broadcasting the property update message to avoid that problem.

Change-Id: I7762b5279febb99d3cb2e110ec9306596fc71e14
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
commit150fba9166d0cd63079d8ed15af5f80a759e9549
parent313db65d41c1a69053fd32a07ece1d8eca223916
authorLutz Schönemann <lutz.schoenemann@basyskom.com>
committerSumedha Widyadharma <sumedha.widyadharma@basyskom.com>
commit timeTue, 12 Aug 2014 10:03:42 +0200