From 969582c23da5a6e38f30a62381010cbeaf71f40c Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Wed, 14 Jun 2017 09:02:59 -0400 Subject: [PATCH] clean audio device names --- interface/src/scripting/AudioDevices.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/scripting/AudioDevices.cpp b/interface/src/scripting/AudioDevices.cpp index e1c0cc3122..055d59efe3 100644 --- a/interface/src/scripting/AudioDevices.cpp +++ b/interface/src/scripting/AudioDevices.cpp @@ -146,7 +146,8 @@ void AudioDeviceList::onDevicesChanged(const QList& devices) { device.info = deviceInfo; device.display = device.info.deviceName() .replace("High Definition", "HD") - .remove("Device"); + .remove("Device") + .replace(" )", ")"); device.selected = (device.info == _selectedDevice); _devices.push_back(device); }