Basic network disconnect handling

Right. the code was in a different place first.

On 17/11/14 21:00, Thorbjørn Lindeijer wrote:
> In example/qml/main/MainWindow.qml:
> 
>> @@ -61,6 +62,20 @@ Image {
>>      }
>>  
>>      Connections {
>> +        target: gameClient
>> +        onDisconnected: {
>> +            if (state === "game" &&
>> +                gameClient.state !== GameClient.Connected)
> 
> The state must be disconnected, right? It shouldn't be possible for it
> to be |Connected| on the |onDisconnected| handler.
> 
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/tales/tales-client/pull/16/files#r20460578>.
>