summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--library/qpeapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index c107a08..bdf67b9 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -799,20 +799,21 @@ QString QPEApplication::qpeDir()
if ( base )
return QString( base ) + "/";
return QString( "../" );
}
/*!
Returns the user's current Document directory. There is a trailing "/".
+ .. well, it does now,, and there's no trailing '/'
*/
QString QPEApplication::documentDir()
{
- return QString( qpeDir() + "Documents");
+ return QString( QDir::homeDirPath() + "/Documents");
}
static int deforient = -1;
/*!
\internal
*/
int QPEApplication::defaultRotation()