summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-06-27 19:40:24 (UTC)
committer llornkcor <llornkcor>2002-06-27 19:40:24 (UTC)
commit9cd1aef30015628e06e8f24b9b7e91acb631b52b (patch) (side-by-side diff)
tree7e742209394929dea46333c13e577ccbf4e3004b
parentc2d32ceea75df8ad2e81c676acd8234597a89635 (diff)
downloadopie-9cd1aef30015628e06e8f24b9b7e91acb631b52b.zip
opie-9cd1aef30015628e06e8f24b9b7e91acb631b52b.tar.gz
opie-9cd1aef30015628e06e8f24b9b7e91acb631b52b.tar.bz2
new ofileselector
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/clock/setAlarm.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/tools/clock/setAlarm.cpp b/noncore/tools/clock/setAlarm.cpp
index 38de396..7c9ded2 100644
--- a/noncore/tools/clock/setAlarm.cpp
+++ b/noncore/tools/clock/setAlarm.cpp
@@ -206,3 +206,9 @@ void Set_Alarm::slotChangemp3CkeckBox(bool b) {
if(b) {
- QString str = OFileDialog::getOpenFileName( 2,"/");//,"", "*", this );
+ QMap<QString, QStringList> map;
+ map.insert(tr("All"), QStringList() );
+ QStringList text;
+ text << "audio/*";
+ map.insert(tr("Audio"), text );
+ QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this );
+// QString str = OFileDialog::getOpenFileName( 2,"/");//,"", "*", this );
if(!str.isEmpty() ) {