Combine some SshConnectionParameter members

Combine host, port, username and password into a 'url' member and
add some convenience accessors.

Change-Id: Iddc26ff00dad1285c96aa56f196dbc4febe8e974
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2017-12-19 12:45:46 +01:00
parent b64c1a96b8
commit 21c66ce5fd
20 changed files with 80 additions and 86 deletions

View File

@@ -429,7 +429,7 @@ void StartApplicationDialog::run(bool attachRemote)
if (!inputAddress.isEmpty())
debugger->setRemoteChannel(inputAddress);
else
debugger->setRemoteChannel(dev->sshParameters().host, newParameters.serverPort);
debugger->setRemoteChannel(dev->sshParameters().host(), newParameters.serverPort);
debugger->setRunControlName(newParameters.displayName());
debugger->setBreakOnMain(newParameters.breakAtMain);
debugger->setDebugInfoLocation(newParameters.debugInfoLocation);