Diffstat (limited to 'noncore/tools/clock/setAlarm.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/tools/clock/setAlarm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp index 9d5fc49..049af8d 100644 --- a/noncore/tools/clock/setAlarm.cpp +++ b/noncore/tools/clock/setAlarm.cpp | |||
@@ -204,21 +204,21 @@ void Set_Alarm::cleanUp() | |||
204 | void Set_Alarm::slotChangemp3CkeckBox(bool b) { | 204 | void Set_Alarm::slotChangemp3CkeckBox(bool b) { |
205 | Config config( "qpe" ); | 205 | Config config( "qpe" ); |
206 | config.setGroup("Time"); | 206 | config.setGroup("Time"); |
207 | if(b) { | 207 | if(b) { |
208 | QMap<QString, QStringList> map; | 208 | QMap<QString, QStringList> map; |
209 | map.insert(tr("All"), QStringList() ); | 209 | map.insert(tr("All"), QStringList() ); |
210 | QStringList text; | 210 | QStringList text; |
211 | text << "audio/*"; | 211 | text << "audio/*"; |
212 | map.insert(tr("Audio"), text ); | 212 | map.insert(tr("Audio"), text ); |
213 | QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); | 213 | QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this ); |
214 | // QString str = Opie::OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); | 214 | // QString str = Opie::OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); |
215 | if(!str.isEmpty() ) { | 215 | if(!str.isEmpty() ) { |
216 | qDebug(str); | 216 | odebug << str << oendl; |
217 | config.writeEntry("mp3Alarm",1); | 217 | config.writeEntry("mp3Alarm",1); |
218 | config.writeEntry("mp3File",str); | 218 | config.writeEntry("mp3File",str); |
219 | } | 219 | } |
220 | } else { | 220 | } else { |
221 | config.writeEntry("mp3Alarm",0); | 221 | config.writeEntry("mp3Alarm",0); |
222 | config.writeEntry("mp3File",""); | 222 | config.writeEntry("mp3File",""); |
223 | } | 223 | } |
224 | } | 224 | } |