From kde-panel-devel Wed May 30 09:45:30 2018 From: David Edmundson Date: Wed, 30 May 2018 09:45:30 +0000 To: kde-panel-devel Subject: D13210: [Installation Reminder] Watch for service registration and hide Message-Id: <20180530094530.1.3489711B238CC7F0 () phabricator ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=152767353904470 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--cf13f679d54c43ff8758a516e5d8924c" --cf13f679d54c43ff8758a516e5d8924c Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ascii" Mime-Version: 1.0 davidedmundson accepted this revision. davidedmundson added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > browserintegrationreminder.cpp:129 > > + m_watcher = new QDBusServiceWatcher(s_dbusServiceName, bus, QDBusServiceWatcher::WatchForRegistration, this); > + connect(m_watcher, &QDBusServiceWatcher::serviceRegistered, this, [this](const QString &service) { technically best to move this above the check for isServiceRegistered and you avoid the slim race possibility. REPOSITORY R856 Plasma Browser Integration REVISION DETAIL https://phabricator.kde.org/D13210 To: broulik, #plasma, davidedmundson Cc: plasma-devel, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart --cf13f679d54c43ff8758a516e5d8924c Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ascii" Mime-Version: 1.0 View Revision
davidedmundson accepted this revision.
david= edmundson added inline comments.
This revision is now accepted and rea= dy to land.

INLINE COMMENTS
View Inlinebrowserintegrationreminder.cpp:129
m_watcher =3D new QDBusServiceWatcher(s_dbusServiceName, bus, QDBusServiceW= atcher::Watc= hForRegistration, this);
connect(m_watcher, &QDBusServiceWatcher::serviceRegistere= d, this, [this](const QString &service) {

technically best to move this above the check for isServiceRegist= ered and you avoid the slim race possibility.


REPOSITORY
R856 Plasma Browser Int= egration

REVISION DETAIL
<= a href=3D"https://phabricator.kde.org/D13210">https://phabricator.kde.org/D= 13210

To: broulik, Plasma, david= edmundson
Cc: plasma-devel, ragreen, Pitel, ZrenBot, = lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
--cf13f679d54c43ff8758a516e5d8924c--