Fix GPUIdent name trailing whitespace

This commit is contained in:
Ryan Huffman 2016-06-20 16:01:03 -07:00
parent c2ebcd1f77
commit 1fa274a527

View file

@ -122,7 +122,7 @@ GPUIdent* GPUIdent::ensureQuery(const QString& vendor, const QString& renderer)
}
if (count > bestCount) {
bestCount = count;
_name = sString;
_name = QString(sString).trimmed();
hr = spInstance->Get(CComBSTR(_T("DriverVersion")), 0, &var, 0, 0);
if (hr == S_OK) {