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:
Christian Kandeler
2011-06-28 09:59:18 +02:00
parent 2b8920405d
commit a42ad1db04

View File

@@ -626,8 +626,8 @@ LinuxDeviceConfiguration::Ptr MaemoDeviceConfigWizard::deviceConfiguration()
doTest = true;
}
const LinuxDeviceConfiguration::Ptr devConf = LinuxDeviceConfiguration::create(d->wizardData.configName,
d->wizardData.osType, LinuxDeviceConfiguration::Physical,
PortList::fromString(freePortsSpec), sshParams);
d->wizardData.osType, d->wizardData.deviceType, PortList::fromString(freePortsSpec),
sshParams);
if (doTest) {
MaemoConfigTestDialog dlg(devConf, this);
dlg.exec();