Diffstat (limited to 'noncore/settings/sound/soundsettings.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index c2bf405..55f6c99 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -39,25 +39,25 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | |||
39 | keysound->setChecked(config.readBoolEntry("Key")); | 39 | keysound->setChecked(config.readBoolEntry("Key")); |
40 | 40 | ||
41 | config.setGroup("Record"); | 41 | config.setGroup("Record"); |
42 | int rate=config.readNumEntry("SampleRate", 11025); | 42 | int rate=config.readNumEntry("SampleRate", 11025); |
43 | if(rate == 11025) | 43 | if(rate == 11025) |
44 | sampleRate->setCurrentItem(0); | 44 | sampleRate->setCurrentItem(0); |
45 | else if(rate == 22050) | 45 | else if(rate == 22050) |
46 | sampleRate->setCurrentItem(1); | 46 | sampleRate->setCurrentItem(1); |
47 | else if(rate==44100) | 47 | else if(rate==44100) |
48 | sampleRate->setCurrentItem(2); | 48 | sampleRate->setCurrentItem(2); |
49 | 49 | ||
50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 50 | stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 51 | sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 1)); |
52 | 52 | ||
53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); | 53 | connect(volume, SIGNAL(valueChanged(int)), this, SLOT(setVolume(int))); |
54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); | 54 | connect(mic, SIGNAL(valueChanged(int)), this, SLOT(setMic(int))); |
55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); | 55 | connect(qApp, SIGNAL( volumeChanged(bool) ), this, SLOT( volumeChanged(bool) ) ); |
56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); | 56 | connect(qApp, SIGNAL( micChanged(bool) ), this, SLOT ( micChanged(bool) ) ); |
57 | } | 57 | } |
58 | 58 | ||
59 | void SoundSettings::reject() | 59 | void SoundSettings::reject() |
60 | { | 60 | { |
61 | Config config( "Sound" ); | 61 | Config config( "Sound" ); |
62 | config.setGroup( "System" ); | 62 | config.setGroup( "System" ); |
63 | setVolume(100-config.readNumEntry("Volume")); | 63 | setVolume(100-config.readNumEntry("Volume")); |