mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
OP-1122 OP-1125 minor change to uavobject::toStringBrief() method
This commit is contained in:
parent
cb902900de
commit
a6d0f09d21
@ -255,7 +255,7 @@ UAVObjectField *UAVObject::getField(const QString & name)
|
||||
}
|
||||
}
|
||||
// If this point is reached then the field was not found
|
||||
qWarning() << "UAVObject::getField Non existant field " << name << " requested. This indicates a bug. Make sure you also have null checking for non-debug code.";
|
||||
qWarning() << "UAVObject::getField Non existant field" << name << "requested. This indicates a bug. Make sure you also have null checking for non-debug code.";
|
||||
return NULL;
|
||||
}
|
||||
|
||||
@ -448,7 +448,7 @@ QString UAVObject::toStringBrief()
|
||||
{
|
||||
QString sout;
|
||||
|
||||
sout.append(QString("%1 (ID: %2:%3, %4bytes, %5)")
|
||||
sout.append(QString("%1 (ID: %2-%3, %4 bytes, %5)")
|
||||
.arg(getName())
|
||||
.arg(getObjID())
|
||||
.arg(getInstID())
|
||||
|
Loading…
x
Reference in New Issue
Block a user