From a9ac60da055e108d153e265190ebd870cecb9f6f Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Fri, 21 Mar 2014 18:13:46 +0000 Subject: Update docs for KDesktopFile::isAuthorizedDesktopFile() The fact that it changed in KDE 4.3 is not so relevant any more. REVIEW: 116962 --- src/core/kdesktopfile.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/core/kdesktopfile.h b/src/core/kdesktopfile.h index df8eff1a..2190051d 100644 --- a/src/core/kdesktopfile.h +++ b/src/core/kdesktopfile.h @@ -87,11 +87,10 @@ public: * the KIOSK framework can be used to activate certain restrictions. * See README.kiosk for more information. * - * Note: Since KDE 4.3, there are more restrictions on authorized - * desktop files to prevent users from inadvertently running trojan - * desktop files. Your application launchers should have the executable - * bit set to prevent issues. To see if a restriction is due to - * KIOSK, see KAuthorized. + * Note that desktop files that are not in a standard location (as + * specified by XDG_DATA_DIRS) must have their executable bit set + * to be authorized, regardless of KIOSK settings, to prevent users + * from inadvertently running trojan desktop files. * * @param path the file to check * @return true if the user is authorized to run the file -- cgit v1.2.1