aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kdesktopfile.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp
index ea0419f6..c5857221 100644
--- a/src/core/kdesktopfile.cpp
+++ b/src/core/kdesktopfile.cpp
@@ -202,8 +202,10 @@ QString KDesktopFile::readGenericName() const
QString KDesktopFile::readPath() const
{
Q_D(const KDesktopFile);
- // NOT readPathEntry, it is not XDG-compliant. Path entries written by
- // KDE4 will be still treated as such, though.
+ // NOT readPathEntry, it is not XDG-compliant: it performs
+ // various expansions, like $HOME. Note that the expansion
+ // behaviour still happens if the "e" flag is set, maintaining
+ // backwards compatibility.
return d->desktopGroup.readEntry("Path", QString());
}