Skip to content
Snippets Groups Projects
Commit 60cde65b authored by David Kaspar's avatar David Kaspar
Browse files

Qnx: BB Device Conf. wizard provides default name if hostname not found


Change-Id: I66b133d343edee762066a7e2797f9f24073dded2
Reviewed-by: default avatarFanda Vacek <fvacek@blackberry.com>
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
Reviewed-by: default avatarDavid Kaspar <dkaspar@blackberry.com>
parent 160992f8
No related branches found
No related tags found
No related merge requests found
......@@ -254,6 +254,9 @@ void BlackBerryDeviceConfigurationWizardQueryPage::processQueryFinished(int stat
m_holder.devicePin = m_deviceInformation->devicePin();
m_holder.scmBundle = m_deviceInformation->scmBundle();
m_holder.deviceName = m_deviceInformation->hostName();
if (m_holder.deviceName.isEmpty())
m_holder.deviceName = QLatin1String("BlackBerry at ")
+ field(QLatin1String(DEVICEHOSTNAME_FIELD_ID)).toString();
m_holder.debugTokenAuthor = m_deviceInformation->debugTokenAuthor();
m_holder.debugTokenValid = m_deviceInformation->debugTokenValid();
m_holder.isSimulator = m_deviceInformation->isSimulator();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment