From a01af1b406213fe00901b748787f185b89f4dee2 Mon Sep 17 00:00:00 2001 From: Piyush Aggarwal Date: Mon, 21 Jun 2021 11:18:53 +0530 Subject: [PATCH] systemvolumeplugin: populate sink description with sink name when building with minGW32 --- plugins/systemvolume/systemvolumeplugin-win.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/systemvolume/systemvolumeplugin-win.cpp b/plugins/systemvolume/systemvolumeplugin-win.cpp index e65d44d34..30dd407f6 100644 --- a/plugins/systemvolume/systemvolumeplugin-win.cpp +++ b/plugins/systemvolume/systemvolumeplugin-win.cpp @@ -295,6 +295,8 @@ bool SystemvolumePlugin::sendSinkList() deviceProperties->GetValue(PKEY_Device_DeviceDesc, &deviceProperty); desc = QString::fromWCharArray(deviceProperty.pwszVal); //PropVariantClear(&deviceProperty); +#else + desc = name; #endif QJsonObject sinkObject;