systemvolumeplugin: populate sink description with sink name when building with minGW32
This commit is contained in:
parent
d071d034c3
commit
a01af1b406
1 changed files with 2 additions and 0 deletions
|
@ -295,6 +295,8 @@ bool SystemvolumePlugin::sendSinkList()
|
||||||
deviceProperties->GetValue(PKEY_Device_DeviceDesc, &deviceProperty);
|
deviceProperties->GetValue(PKEY_Device_DeviceDesc, &deviceProperty);
|
||||||
desc = QString::fromWCharArray(deviceProperty.pwszVal);
|
desc = QString::fromWCharArray(deviceProperty.pwszVal);
|
||||||
//PropVariantClear(&deviceProperty);
|
//PropVariantClear(&deviceProperty);
|
||||||
|
#else
|
||||||
|
desc = name;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
QJsonObject sinkObject;
|
QJsonObject sinkObject;
|
||||||
|
|
Loading…
Reference in a new issue