debugger: use Profile directly for fillParameters instead of its id

Change-Id: Ifaf663ee1827976e45e68e309b19c2f233a05ac1
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-08-15 15:42:53 +02:00
parent 60de95aff6
commit f1b5d6a569
8 changed files with 32 additions and 28 deletions

View File

@@ -378,7 +378,7 @@ bool StartApplicationDialog::run(QWidget *parent, QSettings *settings, DebuggerS
}
Profile *profile = dialog.d->profileChooser->currentProfile();
fillParameters(sp, profile->id());
fillParameters(sp, profile);
sp->executable = newParameters.localExecutable;
sp->displayName = newParameters.displayName();
@@ -495,9 +495,9 @@ int AttachToQmlPortDialog::port() const
return d->portSpinBox->value();
}
Id AttachToQmlPortDialog::profileId() const
Profile *AttachToQmlPortDialog::profile() const
{
return d->profileChooser->currentProfileId();
return d->profileChooser->currentProfile();
}
void AttachToQmlPortDialog::setProfileId(const Id &id)