D18354: Use QPointer for notification

Kai Uwe Broulik noreply at phabricator.kde.org
Fri Jan 18 10:15:36 GMT 2019


broulik added inline comments.

INLINE COMMENTS

> broulik wrote in notification.cpp:86
> Can't this be simplified to drop the `update` argument and just check for `m_notification`?
> 
> This method is only used in the constructor where `m_notification` is `null` anyway, and in `update` where you check for `m_notification`

Looks like it's "public API", so maybe not?

REPOSITORY
  R224 KDE Connect

REVISION DETAIL
  https://phabricator.kde.org/D18354

To: nicolasfella, #kde_connect, broulik
Cc: kdeconnect, vporvaznik, mschroeder, varunp, shivanshukantprasad, skymoore, brute4s99, wistak, anoopv, dvalencia, rmenezes, julioc, Leptopoda, timothyc, Danial0_0, johnq, Pitel, adeen-s, SemperPeritus, daniel.z.tg, jeanv, seebauer, bugzy, MayeulC, lemuel, menasshock, mikesomov, tctara, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20190118/14266519/attachment.html>


More information about the KDEConnect mailing list