aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kdesktopfile.cpp4
-rw-r--r--src/kconf_update/kconf_update.cpp4
2 files changed, 4 insertions, 4 deletions
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;
}
diff --git a/src/kconf_update/kconf_update.cpp b/src/kconf_update/kconf_update.cpp
index 2c48fa35..22798cd4 100644
--- a/src/kconf_update/kconf_update.cpp
+++ b/src/kconf_update/kconf_update.cpp
@@ -832,7 +832,7 @@ void KonfUpdate::gotScript(const QString &_script)
if (m_debug) {
QFile scriptFile(path);
if (scriptFile.open(QIODevice::ReadOnly)) {
- qCDebug(KCONF_UPDATE_LOG) << "Script contents is:" << endl << scriptFile.readAll();
+ qCDebug(KCONF_UPDATE_LOG) << "Script contents is:\n" << scriptFile.readAll();
}
}
proc.start(cmd, args);
@@ -870,7 +870,7 @@ void KonfUpdate::gotScript(const QString &_script)
qCDebug(KCONF_UPDATE_LOG) << "Script output stored in" << scriptOut.fileName();
QFile output(scriptOut.fileName());
if (output.open(QIODevice::ReadOnly)) {
- qCDebug(KCONF_UPDATE_LOG) << "Script output is:" << endl << output.readAll();
+ qCDebug(KCONF_UPDATE_LOG) << "Script output is:\n" << output.readAll();
}
}