Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
System
KPMCore
Commits
fb11a02d
Commit
fb11a02d
authored
Feb 06, 2022
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/util/externalcommandhelper.cpp
View file @
fb11a02d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment