forked from qt-creator/qt-creator
Maemo: Fix device configuration wizard.
The device type was always set to "physical device", even when the user chose "emulator". Change-Id: I0355168fd32d8c3f73066541394b8403fc14ba73 Reviewed-on: http://codereview.qt.nokia.com/819 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -626,8 +626,8 @@ LinuxDeviceConfiguration::Ptr MaemoDeviceConfigWizard::deviceConfiguration()
|
|||||||
doTest = true;
|
doTest = true;
|
||||||
}
|
}
|
||||||
const LinuxDeviceConfiguration::Ptr devConf = LinuxDeviceConfiguration::create(d->wizardData.configName,
|
const LinuxDeviceConfiguration::Ptr devConf = LinuxDeviceConfiguration::create(d->wizardData.configName,
|
||||||
d->wizardData.osType, LinuxDeviceConfiguration::Physical,
|
d->wizardData.osType, d->wizardData.deviceType, PortList::fromString(freePortsSpec),
|
||||||
PortList::fromString(freePortsSpec), sshParams);
|
sshParams);
|
||||||
if (doTest) {
|
if (doTest) {
|
||||||
MaemoConfigTestDialog dlg(devConf, this);
|
MaemoConfigTestDialog dlg(devConf, this);
|
||||||
dlg.exec();
|
dlg.exec();
|
||||||
|
|||||||
Reference in New Issue
Block a user