-rw-r--r-- | noncore/graphics/opie-eye/gui/filesystem.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/graphics/opie-eye/gui/filesystem.cpp b/noncore/graphics/opie-eye/gui/filesystem.cpp index 91bcf67..6f1c64a 100644 --- a/noncore/graphics/opie-eye/gui/filesystem.cpp +++ b/noncore/graphics/opie-eye/gui/filesystem.cpp | |||
@@ -4,3 +4,3 @@ | |||
4 | */ | 4 | */ |
5 | 5 | #include <stdlib.h> | |
6 | #include <qpopupmenu.h> | 6 | #include <qpopupmenu.h> |
@@ -39,2 +39,10 @@ void PFileSystem::changed() { | |||
39 | m_dev.clear(); | 39 | m_dev.clear(); |
40 | |||
41 | /* home dir, too */ | ||
42 | QString f = getenv( "HOME" ); | ||
43 | if (!f.isEmpty()) { | ||
44 | m_dev.insert("Home directory",f); | ||
45 | m_pop->insertItem("Home directory"); | ||
46 | } | ||
47 | |||
40 | const QList<FileSystem> &fs = m_storage->fileSystems(); | 48 | const QList<FileSystem> &fs = m_storage->fileSystems(); |