From c8f3b3684e42d5b1e788642863782741703acbd2 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sun, 23 Mar 2014 17:35:35 +0000 Subject: Remove kde3 compatibility code for "DocPath" in desktop files LXR suggests nothing still sets that (everything is X-DocPath now). REVIEW: 117003 --- src/core/kdesktopfile.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/kdesktopfile.cpp') diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp index c5857221..facd1ea0 100644 --- a/src/core/kdesktopfile.cpp +++ b/src/core/kdesktopfile.cpp @@ -330,10 +330,6 @@ KDesktopFile::sortOrder() const QString KDesktopFile::readDocPath() const { Q_D(const KDesktopFile); - //legacy entry in kde3 apps - if (d->desktopGroup.hasKey("DocPath")) { - return d->desktopGroup.readPathEntry("DocPath", QString()); - } return d->desktopGroup.readPathEntry("X-DocPath", QString()); } -- cgit v1.2.1