diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2021-04-11 17:15:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 17:15:42 +0200 |
commit | a49f56df411249428dd4353e4497ca7892673d08 (patch) | |
tree | a7f4e0f714a3abf6104e1c668ca8ea9d8e2065b3 /src | |
parent | 820889b9210e922ae85c1264ff2815d7e81b5464 (diff) | |
parent | 452c64c13d301e2697d8cbd689c12e03986d6d29 (diff) |
Merge pull request #3777 from daschuer/portaudioUft8
Read device names as Uft8.
Diffstat (limited to 'src')
-rw-r--r-- | src/soundio/sounddeviceportaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundio/sounddeviceportaudio.cpp b/src/soundio/sounddeviceportaudio.cpp index d14cb8272f..68118c1ade 100644 --- a/src/soundio/sounddeviceportaudio.cpp +++ b/src/soundio/sounddeviceportaudio.cpp @@ -113,7 +113,7 @@ SoundDevicePortAudio::SoundDevicePortAudio(UserSettingsPointer config, m_deviceId.name = deviceInfo->name; } m_deviceId.portAudioIndex = devIndex; - m_strDisplayName = QString::fromLocal8Bit(deviceInfo->name); + m_strDisplayName = QString::fromUtf8(deviceInfo->name); m_iNumInputChannels = m_deviceInfo->maxInputChannels; m_iNumOutputChannels = m_deviceInfo->maxOutputChannels; |