author | zecke <zecke> | 2002-09-25 18:15:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-25 18:15:58 (UTC) |
commit | c96507591791d48a6d6dad3de6c15739c84e1c93 (patch) (unidiff) | |
tree | f5476860497023dd6d9e1c82c61cc6bb3f61a6da /library | |
parent | d44c455b86d6cccbc497e3e8d8aa399096eff7db (diff) | |
download | opie-c96507591791d48a6d6dad3de6c15739c84e1c93.zip opie-c96507591791d48a6d6dad3de6c15739c84e1c93.tar.gz opie-c96507591791d48a6d6dad3de6c15739c84e1c93.tar.bz2 |
ljps patch was/is correct
but for some reason TT is not using QFile
so I made it use getenv(HOME) instead
-rw-r--r-- | library/qpeapplication.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index bdf67b9..533d7bd 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp | |||
@@ -810,3 +810,7 @@ QString QPEApplication::documentDir() | |||
810 | { | 810 | { |
811 | return QString( QDir::homeDirPath() + "/Documents"); | 811 | const char* base = getenv( "HOME"); |
812 | if( base ) | ||
813 | return QString( base ) + "/Documents"; | ||
814 | |||
815 | return QString( "../Documents" ); | ||
812 | } | 816 | } |