for languages in the PreferencesDialog use a function that provides a more
appropriate name
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user