Use default in switch.

Signed-off-by: Camila Ayres <hello@camilasan.com>
This commit is contained in:
Camila Ayres 2024-07-03 16:16:56 +02:00
parent 364b329d55
commit f581aa1e4b
No known key found for this signature in database
GPG key ID: 7A4A6121E88E2AD4

View file

@ -370,9 +370,9 @@ void GeneralSettings::slotUpdateChannelChanged()
case 2:
return QStringLiteral("daily");
break;
default:
return QStringLiteral("stable");
}
return QStringLiteral("stable");
};
const auto channel = updateChannelFromLocalized(_ui->updateChannel->currentIndex());