Use QString not QByteArray for string equality
This commit is contained in:
parent
1d2c4d0843
commit
9a5134ffcf
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ bool MmalRenderer::getDtDeviceStatus(QString name, bool ifUnknown)
|
|||
QString statusString(statusData);
|
||||
|
||||
// Per Device Tree docs, 'okay' and 'ok' are both acceptable
|
||||
return statusData == "okay" || statusData == "ok";
|
||||
return statusString == "okay" || statusString == "ok";
|
||||
}
|
||||
|
||||
bool MmalRenderer::isMmalOverlaySupported()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue