Update device debug operator
This commit is contained in:
parent
8d2d0446bc
commit
0a4381f09c
@ -264,8 +264,8 @@ Device *Devices::findById(const DeviceId &id)
|
|||||||
QDebug operator<<(QDebug dbg, Device *device)
|
QDebug operator<<(QDebug dbg, Device *device)
|
||||||
{
|
{
|
||||||
dbg.nospace() << "Device(" << device->name();
|
dbg.nospace() << "Device(" << device->name();
|
||||||
dbg.nospace() << ", id" << device->id();
|
dbg.nospace() << ", id: " << device->id().toString();
|
||||||
dbg.nospace() << ", deviceClassId" << device->deviceClassId() << ")";
|
dbg.nospace() << ", deviceClassId: " << device->deviceClassId().toString() << ")";
|
||||||
return dbg.space();
|
return dbg.space();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user