D10105: baloo-widgets: Refactor filemetadataprovider for better readability

Elvis Angelaccio noreply at phabricator.kde.org
Sun Jan 28 10:46:19 GMT 2018


elvisangelaccio added inline comments.

INLINE COMMENTS

> filemetadataprovider.cpp:137
> +    
> +    if (files.size() == 0) {
> +        emit loadingFinished();

`files.isEmpty()`

> michaelh wrote in filemetadataprovider.cpp:141
> We can leave early here, I think. 
> Without a file
> 
>   149  insertEditableData() 
> 
> does not make much sense.

Why not? `insertEditableData()` just sets some defaults, how is it related to `files`?

REPOSITORY
  R824 Baloo Widgets

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

To: michaelh, elvisangelaccio, ngraham, vhanda, smithjd, #dolphin, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180128/f677c561/attachment.htm>


More information about the kfm-devel mailing list