|
|
|
|
@ -159,7 +159,7 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path) |
|
|
|
|
|
|
|
|
|
// Forbid desktop files outside of standard locations if kiosk is set so
|
|
|
|
|
if (!KAuthorized::authorize(QStringLiteral("run_desktop_files"))) { |
|
|
|
|
qCWarning(KCONFIG_CORE_LOG) << "Access to '" << path << "' denied because of 'run_desktop_files' restriction." << endl; |
|
|
|
|
qCWarning(KCONFIG_CORE_LOG) << "Access to '" << path << "' denied because of 'run_desktop_files' restriction."; |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@ -170,7 +170,7 @@ bool KDesktopFile::isAuthorizedDesktopFile(const QString &path) |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
qCWarning(KCONFIG_CORE_LOG) << "Access to '" << path << "' denied, not owned by root, executable flag not set." << endl; |
|
|
|
|
qCWarning(KCONFIG_CORE_LOG) << "Access to '" << path << "' denied, not owned by root, executable flag not set."; |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|