forked from qt-creator/qt-creator
QmlProfiler: Add "Sysroot" field to attach dialog
Change-Id: Id3c6a0eaa90096f2a7a0bdcfac10644e10e8858c Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
@@ -58,6 +58,11 @@ uint QmlProfilerAttachDialog::port() const
|
||||
return ui->portSpinBox->value();
|
||||
}
|
||||
|
||||
QString QmlProfilerAttachDialog::sysroot() const
|
||||
{
|
||||
return ui->sysrootChooser->path();
|
||||
}
|
||||
|
||||
void QmlProfilerAttachDialog::setAddress(const QString &address)
|
||||
{
|
||||
ui->addressLineEdit->setText(address);
|
||||
@@ -68,5 +73,10 @@ void QmlProfilerAttachDialog::setPort(uint port)
|
||||
ui->portSpinBox->setValue(port);
|
||||
}
|
||||
|
||||
void QmlProfilerAttachDialog::setSysroot(const QString &sysroot)
|
||||
{
|
||||
ui->sysrootChooser->setPath(sysroot);
|
||||
}
|
||||
|
||||
} // namespace Internal
|
||||
} // namespace QmlProfiler
|
||||
|
||||
Reference in New Issue
Block a user