D21220: [Touchpad KCM] Fix libinput-less build and warnings

Vlad Zagorodniy noreply at phabricator.kde.org
Wed May 15 08:23:18 BST 2019


zzag added inline comments.

INLINE COMMENTS

> libinputcommon.h:28
>  template<typename T>
> -T valueLoaderPart(QVariant const &reply) { Q_UNUSED(reply); return T(); }
> +inline T valueLoaderPart(QVariant const &reply) { Q_UNUSED(reply); return T(); }
>  

Just a note for the future: you don't have to define this function. It's enough to do

  template <typename T>
  T valueLoaderPart(QVariant const &reply);

REPOSITORY
  R119 Plasma Desktop

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

To: romangg, #plasma, davidedmundson
Cc: zzag, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190515/26aba5c9/attachment-0001.html>


More information about the Plasma-devel mailing list