forked from qt-creator/qt-creator
Debugger, QmlProfiler et al: Replace AnalyzerStartParameter
... and QmlProfilerRunner::Configuaration by PE::UrlConnection, and call it 'serverUrl' on the user side. That's the only variant we ever had and avoids "translations" between three structures that are essential the same. Change-Id: I33386b2b8d2a7985ff934f6f8f840de0831bf9c1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
|
||||
#include "startremotedialog.h"
|
||||
|
||||
#include "analyzerstartparameters.h"
|
||||
|
||||
#include <coreplugin/icore.h>
|
||||
#include <projectexplorer/kitchooser.h>
|
||||
#include <projectexplorer/kitinformation.h>
|
||||
@@ -130,11 +128,14 @@ void StartRemoteDialog::validate()
|
||||
d->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(valid);
|
||||
}
|
||||
|
||||
QSsh::SshConnectionParameters StartRemoteDialog::sshParams() const
|
||||
QUrl StartRemoteDialog::serverUrl() const
|
||||
{
|
||||
QUrl url;
|
||||
Kit *kit = d->kitChooser->currentKit();
|
||||
IDevice::ConstPtr device = DeviceKitInformation::device(kit);
|
||||
return device->sshParameters();
|
||||
url.setHost(device->sshParameters().host);
|
||||
url.setPort(device->sshParameters().port);
|
||||
return url;
|
||||
}
|
||||
|
||||
StandardRunnable StartRemoteDialog::runnable() const
|
||||
|
||||
Reference in New Issue
Block a user