CodePaster: Do better checking on hosts.
Do an initial connection check on the host (once per host). Add utility function to NetworkProtocol, displaying connection check message box. Move the 'Paste' handling into the PasteView dialog, such that the checking happens there and the dialog stays open if something fails. Task-number: QTCREATORBUG-2117
Showing with 122 additions and 38 deletions