Diffstat (limited to 'noncore/settings/sound/soundsettings.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp index cdee87c..ed601cf 100644 --- a/noncore/settings/sound/soundsettings.cpp +++ b/noncore/settings/sound/soundsettings.cpp | |||
@@ -70,6 +70,7 @@ SoundSettings::SoundSettings( QWidget* parent, const char* name, WFlags fl ) | |||
70 | 70 | ||
71 | void SoundSettings::reject() | 71 | void SoundSettings::reject() |
72 | { | 72 | { |
73 | qDebug("here"); | ||
73 | Config config( "qpe"); | 74 | Config config( "qpe"); |
74 | config.setGroup( "Volume"); | 75 | config.setGroup( "Volume"); |
75 | 76 | ||
@@ -88,8 +89,8 @@ void SoundSettings::reject() | |||
88 | // sampleRate->setCurrentItem(3); | 89 | // sampleRate->setCurrentItem(3); |
89 | // stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); | 90 | // stereoCheckBox->setChecked(config.readNumEntry("Stereo", 0)); |
90 | // sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); | 91 | // sixteenBitCheckBox->setChecked(config.readNumEntry("SixteenBit", 0)); |
91 | 92 | ::exit(-1); | |
92 | QDialog::reject(); | 93 | // QDialog::reject(); |
93 | } | 94 | } |
94 | 95 | ||
95 | void SoundSettings::accept() | 96 | void SoundSettings::accept() |
@@ -113,7 +114,8 @@ void SoundSettings::accept() | |||
113 | // Config cfg( "VMemo" ); | 114 | // Config cfg( "VMemo" ); |
114 | // cfg.setGroup( "Defaults" ); | 115 | // cfg.setGroup( "Defaults" ); |
115 | // cfg.writeEntry( "hideIcon", HideIcon_CheckBox->isChecked()); | 116 | // cfg.writeEntry( "hideIcon", HideIcon_CheckBox->isChecked()); |
116 | QDialog::accept(); | 117 | // QDialog::accept(); |
118 | ::exit(0); | ||
117 | } | 119 | } |
118 | 120 | ||
119 | void SoundSettings::setVolume(int v) | 121 | void SoundSettings::setVolume(int v) |