Commit fb11a02d authored by Andrius Štikonas's avatar Andrius Štikonas
Browse files

It is no longer necessary to namespace exit function.

parent 4ef17463
Pipeline #133809 passed with stage
in 1 minute and 5 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment