Update device debug operator

pull/166/head
Simon Stürz 2019-05-20 11:02:49 +02:00
parent 8d2d0446bc
commit 0a4381f09c
1 changed files with 2 additions and 2 deletions

View File

@ -264,8 +264,8 @@ Device *Devices::findById(const DeviceId &id)
QDebug operator<<(QDebug dbg, Device *device)
{
dbg.nospace() << "Device(" << device->name();
dbg.nospace() << ", id" << device->id();
dbg.nospace() << ", deviceClassId" << device->deviceClassId() << ")";
dbg.nospace() << ", id: " << device->id().toString();
dbg.nospace() << ", deviceClassId: " << device->deviceClassId().toString() << ")";
return dbg.space();
}