D16197: provide a list of supported mimetypes for embeddedimagedata

Matthieu Gallien noreply at phabricator.kde.org
Sun Oct 14 20:14:41 BST 2018


mgallien added inline comments.

INLINE COMMENTS

> embeddedimagedata.h:62
> +     */
> +    QStringList readMimetypes() const;
> +

You can make it static because you are returning a static member. It means that you should probably return by const reference (even if I do not remember if it is always the best answer).

REPOSITORY
  R286 KFileMetaData

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

To: astippich, bruns, mgallien
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181014/02b62663/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list