mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Merge remote-tracking branch 'zetok/audio-win-fix'
This commit is contained in:
commit
c5127e3654
|
@ -264,7 +264,7 @@ void AVForm::getAudioInDevices()
|
|||
while (*pDeviceList)
|
||||
{
|
||||
int len = strlen(pDeviceList);
|
||||
#ifdef Q_OS_WIN32
|
||||
#ifdef Q_OS_WIN
|
||||
QString inDev = QString::fromUtf8(pDeviceList,len);
|
||||
#else
|
||||
QString inDev = QString::fromLocal8Bit(pDeviceList,len);
|
||||
|
@ -298,7 +298,7 @@ void AVForm::getAudioOutDevices()
|
|||
while (*pDeviceList)
|
||||
{
|
||||
int len = strlen(pDeviceList);
|
||||
#ifdef Q_OS_WIN32
|
||||
#ifdef Q_OS_WIN
|
||||
QString outDev = QString::fromUtf8(pDeviceList,len);
|
||||
#else
|
||||
QString outDev = QString::fromLocal8Bit(pDeviceList,len);
|
||||
|
|
Loading…
Reference in New Issue
Block a user