D19698: Remove crash in plasmashell

Kai Uwe Broulik noreply at phabricator.kde.org
Tue Mar 12 07:56:54 GMT 2019


broulik requested changes to this revision.
broulik added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> datamodel.cpp:67
>  {
> -    return sourceModel()->roleNames();
> +    if (sourceModel())
> +       return sourceModel()->roleNames();

Coding style, braces also for single line statements

REPOSITORY
  R242 Plasma Framework (Library)

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

To: mlaurent, dfaure, #frameworks, #plasma, broulik
Cc: broulik, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190312/397f1c8d/attachment.html>


More information about the Kde-frameworks-devel mailing list