diff --git a/src/handlers/xdgurl.cpp b/src/handlers/xdgurl.cpp
index db744f361f7e55940728dad41915806c4ccb0a6a..0b924c5f39eed3d9cc14cabd2b02377679e7e169 100644
--- a/src/handlers/xdgurl.cpp
+++ b/src/handlers/xdgurl.cpp
@@ -88,7 +88,7 @@ QString XdgUrl::_convertPathString(const QString &path)
         newPath.replace("$XDG_DATA", Utility::File::xdgDataHomePath());
     }
     else if (newPath.contains("$KDE_DATA")) {
-        newPath.replace("$KDE_DATA", Utility::File::kdeDataHomePath());
+        newPath.replace("$KDE_DATA", Utility::File::kdehomePath());
     }
 
     return newPath;
diff --git a/src/utility/file.cpp b/src/utility/file.cpp
index 854ed826369107f564e43f1eff838f9274a31b4c..2330ba180e2bffe3779b1a2912631364fdf91eb4 100644
--- a/src/utility/file.cpp
+++ b/src/utility/file.cpp
@@ -63,14 +63,13 @@ QString File::xdgCacheHomePath()
  * https://userbase.kde.org/KDE_System_Administration/Environment_Variables
  */
 
-QString File::kdeDataHomePath()
+QString File::kdehomePath()
 {
-    // KDE 4
+    // KDE 4 maybe uses $KDEHOME
     QString path = QString::fromLocal8Bit(qgetenv("KDEHOME").constData());
     if (path.isEmpty()) {
         path = homePath() + "/.kde";
     }
-    path += "/share";
     return path;
 }
 
diff --git a/src/utility/file.h b/src/utility/file.h
index 06235809e6892b18626ed40d43ca85bb45904c04..8700250686283ff77ccc33fbb4001295c6c0ea1e 100644
--- a/src/utility/file.h
+++ b/src/utility/file.h
@@ -21,7 +21,7 @@ public:
     static QString xdgDataHomePath();
     static QString xdgConfigHomePath();
     static QString xdgCacheHomePath();
-    static QString kdeDataHomePath();
+    static QString kdehomePath();
     static QFileInfoList readDir(const QString &path);
     static bool makeDir(const QString &path);
     static QString readText(const QString &path);