From f9d50c202239ce02fcc991ea82856d2263760b16 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Fri, 3 Jan 2020 07:28:43 +0100 Subject: Remove endl at the end of qdebug --- src/core/kdesktopfile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/kdesktopfile.cpp') diff --git a/src/core/kdesktopfile.cpp b/src/core/kdesktopfile.cpp index 18ef8523..2292a6c7 100644 --- a/src/core/kdesktopfile.cpp +++ b/src/core/kdesktopfile.cpp @@ -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; } -- cgit v1.2.1