D19560: [Desktop Sessions KCM] Add Restart to BIOS/UEFI checkbox

Harald Sitter noreply at phabricator.kde.org
Mon Mar 11 11:13:22 GMT 2019


sitter added a comment.


  I feel like this would be nicer a dbus interface class thingy.

INLINE COMMENTS

> kcmsmserver.cpp:118
> +
> +            if (enable) {
> +                dialog->firmwareSetupMessageWidget->setMessageType(KMessageWidget::Information);

Perhaps reduce the nesting by returning early `if (!enable) { return; }`?

> smserverconfigimpl.cpp:20
>  
> +#include <KMessageWidget>
> +

Not needed? .h includes ui_.h and that would include kmessagewidget.h

REPOSITORY
  R119 Plasma Desktop

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

To: broulik, #plasma, #vdg
Cc: sitter, ngraham, 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/20190311/92593a15/attachment.html>


More information about the Plasma-devel mailing list