diff options
| -rw-r--r-- | src/admin/workerintegration.cpp | 2 | ||||
| -rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/admin/workerintegration.cpp b/src/admin/workerintegration.cpp index 8a24619ab..2e1986bae 100644 --- a/src/admin/workerintegration.cpp +++ b/src/admin/workerintegration.cpp @@ -62,7 +62,7 @@ void Admin::guideUserTowardsInstallingAdminWorker() DolphinPackageInstaller adminWorkerInstaller{ADMIN_WORKER_PACKAGE_NAME, QUrl(QStringLiteral("appstream://org.kde.kio.admin")), isWorkerInstalled}; QObject::connect(&adminWorkerInstaller, &KJob::result, [](KJob *job) { if (job->error()) { - std::cout << qPrintable(job->errorString()) << std::endl; + std::cout << qPrintable(job->errorString()) << '\n'; exit(1); } }); diff --git a/src/main.cpp b/src/main.cpp index 58999a258..eeb01854b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -60,7 +60,7 @@ int main(int argc, char **argv) "@info:shell %1 is a terminal command", "Running <application>Dolphin</application> with <command>sudo</command> is discouraged. Please run <icode>%1</icode> instead.", QStringLiteral("dolphin --sudo"))) - << std::endl; + << '\n'; // We could perform a privilege de-escalation here and continue as normal. It is a bit safer though to simply let the user restart without sudo. return EXIT_FAILURE; } |
