D17887: Fix detection of .kexi file types after recent change of mime database on Linux for SQLite type (2018-06-17)

Jarosław Staniek noreply at phabricator.kde.org
Mon Dec 31 17:19:26 GMT 2018


staniek added a comment.


  In D17887#384384 <https://phabricator.kde.org/D17887#384384>, @pino wrote:
  
  >
  
  
  
  
  > The QSet is used to avoid that the same metadats is registered twice in `m_metadata_by_mimetype` for the same mimetype, in case a plugin specifies two entries (mime name and one alias of it).
  
  Thanks. Interesting though m_metadata_by_mimetype.insertMulti(mimeType, metaData.data()) is used for a purpose, it's valid case to have multiple plugins supporting the same type. Even if for now it's not widely used possibility. KEXI has a special TODO for that - asking the user to pick driver (handler) for given type if there are multiple options. Currently we're picking first on the list.

REPOSITORY
  R15 KDb

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

To: staniek, piggz
Cc: pino, Kexi-Devel-list, barman, wicik, staniek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kexi-devel/attachments/20181231/2848dcb9/attachment.html>


More information about the Kexi-devel mailing list