equal
deleted
inserted
replaced
161 // If we have a friendly name use it for the UI |
161 // If we have a friendly name use it for the UI |
162 iCurrentDeviceName = dev->Device().FriendlyName(); |
162 iCurrentDeviceName = dev->Device().FriendlyName(); |
163 } |
163 } |
164 else |
164 else |
165 { |
165 { |
166 // We don't have any friendly name then chek if we have the device name |
166 // We don't have any friendly name then check if we have the device name |
167 // otherwise use the Alias |
167 // otherwise use the Alias |
168 if(0 >= iCurrentDeviceName.Length()) |
168 if(0 >= iCurrentDeviceName.Length()) |
169 { |
169 { |
170 iCurrentDeviceName = dev->Alias(); |
170 iCurrentDeviceName = dev->Alias(); |
171 } |
171 } |