chatclient-qml: Show errors in a dialog
If the socket is closed the error was so far written to a non-existing
element. Show a modal dialog then, instead. Also, do not make the
login window visible until we have established a connection.
Change-Id: I5045f8583a396f22b751e65b8bb73c609b51c9be
Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
| commit | 47028349eabff3fadedcfe1918faa372537c018f |
| parent | f3456482e44a1ef4663870b427492f4513a231e7 |
| author | Kai Koehne <kai.koehne@qt.io> |
| committer | Kai Koehne <kai.koehne@qt.io> |
| commit time | Tue, 12 Sep 2017 09:22:30 +0000 |