summaryrefslogtreecommitdiff
path: root/noncore/settings/sound
authorllornkcor <llornkcor>2002-07-02 02:13:03 (UTC)
committer llornkcor <llornkcor>2002-07-02 02:13:03 (UTC)
commit75b6c4bb13fcc6d54a249b7885b212f473d654a3 (patch) (side-by-side diff)
treee94c1b5ac37b9470cd0fadd45b8fc14a9cc4e746 /noncore/settings/sound
parent947bd80f93998f75378db1d677b85eb121c10a1d (diff)
downloadopie-75b6c4bb13fcc6d54a249b7885b212f473d654a3.zip
opie-75b6c4bb13fcc6d54a249b7885b212f473d654a3.tar.gz
opie-75b6c4bb13fcc6d54a249b7885b212f473d654a3.tar.bz2
added a few dirs to the list
Diffstat (limited to 'noncore/settings/sound') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/sound/soundsettings.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/sound/soundsettings.cpp b/noncore/settings/sound/soundsettings.cpp
index 6fea3ed..a163d38 100644
--- a/noncore/settings/sound/soundsettings.cpp
+++ b/noncore/settings/sound/soundsettings.cpp
@@ -211,24 +211,28 @@ void SoundSettings::updateStorageCombo() {
QString loc = config.readEntry("RecLocation","/");
int i=0;
int set=0;
StorageInfo storageInfo;
QString sName, sPath;
QStringList list;
+ list << "Documents : "+QPEApplication::documentDir();
+ list << "tmp : /tmp";
+
const QList<FileSystem> &fs = storageInfo.fileSystems();
QListIterator<FileSystem> it ( fs );
for( ; it.current(); ++it ){
const QString name = (*it)->name();
const QString path = (*it)->path();
qDebug("storage name "+name +" storage path is "+path);
list << name + ": " +path;
if( loc.find( path,0,TRUE) != -1)
set = i;
// if(dit.current()->file().find(path) != -1 ) storage=name;
i++;
}
+
LocationComboBox->insertStringList(list);
qDebug("set item %d", set);
LocationComboBox->setCurrentItem(set);
}
void SoundSettings::setLocation(const QString & string) {