D11331: add gaming_input devices and others to Battery

Kai Uwe Broulik noreply at phabricator.kde.org
Wed Mar 21 14:27:56 UTC 2018


broulik added inline comments.

INLINE COMMENTS

> upowerdevice.cpp:93
> -        return (uptype == 2 || uptype == 3 || uptype == 5 || uptype == 6 || uptype == 7 || uptype == 8);
> -    default:
> -        return false;

Sorry, just spotted that you removed the `default` case, this will cause the compiler to complain about not handled `case` statements

REPOSITORY
  R245 Solid

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

To: dollinger, broulik, #plasma
Cc: aleksejshilin, #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180321/02eff752/attachment.html>


More information about the Kde-frameworks-devel mailing list