Commit 8f5a1225 authored by con's avatar con
Browse files

Fixes: Device information was not correct after loading a project.

SymbianDeviceManager needs to initialize when friendlyName is requested.
parent 75abcda9
......@@ -193,6 +193,8 @@ QString SymbianDeviceManager::toString() const
QString SymbianDeviceManager::friendlyNameForPort(const QString &port) const
{
if (!d->m_initialized)
const_cast<SymbianDeviceManager*>(this)->update(false);
foreach (const SymbianDevice &device, d->m_devices) {
if (device.portName() == port)
return device.friendlyName();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment