Fix null pointer exception


This patch fixes a null pointer exception happening when the application
starts without network and then the network becomes available

Change-Id: Iedeacf8fb8f350dfa92c05c1d2e16f62199ca5fd
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commita1c8a23c52087300ffd7bf7e61bdfaab8ff6ecc9
parent2521e5fe81a4b1f2d5b0819ef4c7f239c8fc55b9
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeTue, 28 Feb 2017 13:19:55 +0000