D12728: KFileItemActions: fallback to default mimetype when selecting only files

Elvis Angelaccio noreply at phabricator.kde.org
Mon May 7 19:43:01 UTC 2018


elvisangelaccio added a comment.


  In D12728#258927 <https://phabricator.kde.org/D12728#258927>, @dfaure wrote:
  
  > Makes sense, but why not do this in KFileItemListProperties::mimeType()?
  
  
  That's what I wanted to do first, but then I realized it could be a change of behavior? The apidox says:
  
    @return the mimetype of all items, if they all have the same, otherwise empty
  
  and maybe someone could be relying on this.

REPOSITORY
  R241 KIO

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

To: elvisangelaccio, #frameworks, dfaure
Cc: michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180507/8987ab3d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list