Formatting
This commit is contained in:
@@ -339,4 +339,3 @@ void AppearanceSettingsPage::PlaylistPlayingSongSelectColor() {
|
||||
set_changed();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -94,10 +94,7 @@ BehaviourSettingsPage::BehaviourSettingsPage(SettingsDialog *dialog, QWidget *pa
|
||||
if (!re_match.hasMatch()) continue;
|
||||
|
||||
QString code = re_match.captured(1);
|
||||
QString lookup_code = QString(code)
|
||||
.replace("@latin"_L1, "_Latn"_L1)
|
||||
.replace("_CN"_L1, "_Hans_CN"_L1)
|
||||
.replace("_TW"_L1, "_Hant_TW"_L1);
|
||||
QString lookup_code = QString(code).replace("@latin"_L1, "_Latn"_L1).replace("_CN"_L1, "_Hans_CN"_L1).replace("_TW"_L1, "_Hant_TW"_L1);
|
||||
|
||||
QString language_name = QLocale::languageToString(QLocale(lookup_code).language());
|
||||
QString native_name = QLocale(lookup_code).nativeLanguageName();
|
||||
|
||||
@@ -207,4 +207,3 @@ bool SettingsPage::eventFilter(QObject *obj, QEvent *e) {
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ void SubsonicSettingsPage::Save() {
|
||||
else {
|
||||
s.setValue(kAuthMethod, static_cast<int>(AuthMethod::MD5));
|
||||
}
|
||||
|
||||
|
||||
ui_->checkbox_use_album_id_for_album_covers->setEnabled(ui_->checkbox_download_album_covers->isChecked());
|
||||
|
||||
s.endGroup();
|
||||
|
||||
Reference in New Issue
Block a user