Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
connectionagent
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
mer-core
connectionagent
Commits
b6229dd6
Commit
b6229dd6
authored
Jun 01, 2017
by
Raine Makelainen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[connectionagent] Register DBus object/service in correct order. Fixes JB#38834
parent
f75337af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
connd/qconnectionagent.cpp
connd/qconnectionagent.cpp
+4
-4
No files found.
connd/qconnectionagent.cpp
View file @
b6229dd6
...
@@ -52,13 +52,13 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
...
@@ -52,13 +52,13 @@ QConnectionAgent::QConnectionAgent(QObject *parent) :
new
ConnAdaptor
(
this
);
new
ConnAdaptor
(
this
);
QDBusConnection
dbus
=
QDBusConnection
::
sessionBus
();
QDBusConnection
dbus
=
QDBusConnection
::
sessionBus
();
if
(
!
dbus
.
register
Service
(
CONND_SERVICE
))
{
if
(
!
dbus
.
register
Object
(
CONND_PATH
,
this
))
{
qDebug
()
<<
"XXXXXXXXXXX could not register
service
XXXXXXXXXXXXXXXXXX"
;
qDebug
()
<<
"XXXXXXXXXXX could not register
object
XXXXXXXXXXXXXXXXXX"
;
valid
=
false
;
valid
=
false
;
}
}
if
(
!
dbus
.
register
Object
(
CONND_PATH
,
this
))
{
if
(
!
dbus
.
register
Service
(
CONND_SERVICE
))
{
qDebug
()
<<
"XXXXXXXXXXX could not register
object
XXXXXXXXXXXXXXXXXX"
;
qDebug
()
<<
"XXXXXXXXXXX could not register
service
XXXXXXXXXXXXXXXXXX"
;
valid
=
false
;
valid
=
false
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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