broulik added inline comments.

INLINE COMMENTS
> graesslin wrote in decoration.cpp:201
> I agree, static_cast doesn't make sense. I would do a 
> dynamic_cast/qobject_cast and check for null.

DecoratedClientPrivate is not a QObject, so only option is dynamic_cast

REPOSITORY
  R129 Window Decoration Library

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

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: broulik, #plasma
Cc: davidedmundson, sitter, graesslin, plasma-devel, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, andreaska, sebas

Reply via email to