diff options
Diffstat (limited to 'src/preferences/dialog/dlgprefsounditem.cpp')
-rw-r--r-- | src/preferences/dialog/dlgprefsounditem.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/preferences/dialog/dlgprefsounditem.cpp b/src/preferences/dialog/dlgprefsounditem.cpp index e493d60855..8efa2d3c04 100644 --- a/src/preferences/dialog/dlgprefsounditem.cpp +++ b/src/preferences/dialog/dlgprefsounditem.cpp @@ -80,7 +80,9 @@ void DlgPrefSoundItem::refreshDevices(const QList<SoundDevicePointer>& devices) deviceComboBox->removeItem(deviceComboBox->count() - 1); } for (const auto& pDevice: qAsConst(m_devices)) { - if (!hasSufficientChannels(*pDevice)) continue; + if (!hasSufficientChannels(*pDevice)) { + continue; + } deviceComboBox->addItem(pDevice->getDisplayName(), QVariant::fromValue(pDevice->getDeviceId())); } int newIndex = deviceComboBox->findData(QVariant::fromValue(oldDev)); |