-rw-r--r-- | noncore/settings/sound/sound.pro | 2 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 6 | ||||
-rw-r--r-- | noncore/settings/sound/soundsettingsbase.ui | 6 |
3 files changed, 12 insertions, 2 deletions
diff --git a/noncore/settings/sound/sound.pro b/noncore/settings/sound/sound.pro index 8b33ff2..fa87b86 100644 --- a/noncore/settings/sound/sound.pro +++ b/noncore/settings/sound/sound.pro | |||
@@ -10,3 +10,3 @@ LIBS += -lqpe | |||
10 | TARGET = sound | 10 | TARGET = sound |
11 | 11 | ||
12 | TRANSLATIONS = ../../i18n/pt_BR/sound.ts | 12 | TRANSLATIONS += ../../i18n/pt_BR/sound.ts |
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index 55f6c99..467f23e 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -45,4 +45,6 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | |||
45 | else if(rate == 22050) | 45 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 46 | sampleRate->setCurrentItem(1); |
47 | else if(rate == 32000) | ||
48 | sampleRate->setCurrentItem(2); | ||
47 | else if(rate==44100) | 49 | else if(rate==44100) |
48 | sampleRate->setCurrentItem(2); | 50 | sampleRate->setCurrentItem(2); |
@@ -70,6 +72,8 @@ void SoundSettings::reject() | |||
70 | else if(rate == 22050) | 72 | else if(rate == 22050) |
71 | sampleRate->setCurrentItem(1); | 73 | sampleRate->setCurrentItem(1); |
72 | else if(rate==44100) | 74 | else if(rate == 32000) |
73 | sampleRate->setCurrentItem(2); | 75 | sampleRate->setCurrentItem(2); |
76 | else if(rate==44100) | ||
77 | sampleRate->setCurrentItem(3); | ||
74 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 78 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
75 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 79 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); |
diff --git a/noncore/settings/sound/soundsettingsbase.ui b/noncore/settings/sound/soundsettingsbase.ui index 0351fd8..97bea2d 100644 --- a/noncore/settings/sound/soundsettingsbase.ui +++ b/noncore/settings/sound/soundsettingsbase.ui | |||
@@ -127,4 +127,10 @@ | |||
127 | <property> | 127 | <property> |
128 | <name>text</name> | 128 | <name>text</name> |
129 | <string>32000</string> | ||
130 | </property> | ||
131 | </item> | ||
132 | <item> | ||
133 | <property> | ||
134 | <name>text</name> | ||
129 | <string>44100</string> | 135 | <string>44100</string> |
130 | </property> | 136 | </property> |