for languages in the PreferencesDialog use a function that provides a more

appropriate name
This commit is contained in:
itsmattkc
2019-12-31 15:38:42 +11:00
parent f669446692
commit e1f7319151
2 changed files with 1 additions and 2 deletions
@@ -25,7 +25,7 @@ PreferencesGeneralTab::PreferencesGeneralTab()
language_combobox_ = new QComboBox();
// Add default language (en-US)
language_combobox_->addItem(QLocale::languageToString(QLocale("en_US").language()));
language_combobox_->addItem(QLocale("en_US").nativeLanguageName());
// Set sequence to pick up default parameters from the config
default_sequence_.set_default_parameters();
-1
View File
@@ -159,7 +159,6 @@ void SequenceDialog::accept()
// Get the rational at the combobox's index (which will be correct provided AddFrameRate() was used at all time)
rational video_time_base = frame_rate_list_.at(video_frame_rate_field_->currentIndex()).flipped();
// Get the rational at the combobox's index (which will be correct provided AddFrameRate() was used at all time)
int audio_sample_rate = sample_rate_list_.at(audio_sample_rate_field_->currentIndex());