I think I have some USB devices that actually return empty string...
You need to check if QList is empty before calling first()
Why don't you check if any device from the list has the empty name instead of checking only the first one?
Check for all the available devices
Remove useless includes
Remove more useless includes
@stikonas @cjlcarvalho ping?
I guesss it's alright to go in for now.
Although, it's a bit ugly that we are relying on devices present on tester's system... But anything else would be much harder.