mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-14 09:44:51 +01:00
Fix
This commit is contained in:
parent
99764741e4
commit
705fc920e5
@ -720,7 +720,7 @@ void BackendSettingsPage::radiobutton_alsa_pcm_clicked(const bool checked) {
|
||||
|
||||
QString device_new = ui_->lineedit_device->text();
|
||||
|
||||
if (!device_new.contains(QRegularExpression("^.*:CARD=.*")) && device_new.contains(QRegularExpression("^.*DEV=.*"))) {
|
||||
if (!device_new.contains(QRegularExpression("^.*:CARD=.*")) && !device_new.contains(QRegularExpression("^.*DEV=.*"))) {
|
||||
device_new.clear();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user