From fb11a02d24b136c11a8918d727d981995a14651b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Sun, 6 Feb 2022 01:27:09 +0000 Subject: [PATCH] It is no longer necessary to namespace exit function. --- src/util/externalcommandhelper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/externalcommandhelper.cpp b/src/util/externalcommandhelper.cpp index a52f4aa..c2f0382 100644 --- a/src/util/externalcommandhelper.cpp +++ b/src/util/externalcommandhelper.cpp @@ -44,11 +44,11 @@ ExternalCommandHelper::ExternalCommandHelper() { if (!QDBusConnection::systemBus().registerObject(QStringLiteral("/Helper"), this, QDBusConnection::ExportAllSlots | QDBusConnection::ExportAllSignals)) { - ::exit(-1); + exit(-1); } if (!QDBusConnection::systemBus().registerService(QStringLiteral("org.kde.kpmcore.helperinterface"))) { - ::exit(-1); + exit(-1); } // we know this service must be registered already as DBus policy blocks calls from anyone else