summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Holthuis <jan.holthuis@ruhr-uni-bochum.de>2021-04-11 17:15:42 +0200
committerGitHub <noreply@github.com>2021-04-11 17:15:42 +0200
commita49f56df411249428dd4353e4497ca7892673d08 (patch)
treea7f4e0f714a3abf6104e1c668ca8ea9d8e2065b3
parent820889b9210e922ae85c1264ff2815d7e81b5464 (diff)
parent452c64c13d301e2697d8cbd689c12e03986d6d29 (diff)
Merge pull request #3777 from daschuer/portaudioUft8
Read device names as Uft8.
-rw-r--r--src/soundio/sounddeviceportaudio.cpp2
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;