mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-03 06:16:12 +00:00
Use QString not QByteArray for string equality
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user