-rw-r--r-- | noncore/settings/sound/soundsettings.cpp | 4 |
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 @@ -213,8 +213,11 @@ 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(); @@ -225,8 +228,9 @@ int set=0; set = i; // if(dit.current()->file().find(path) != -1 ) storage=name; i++; } + LocationComboBox->insertStringList(list); qDebug("set item %d", set); LocationComboBox->setCurrentItem(set); } |