D13315: Detect mime type of local files based on their contents
Aleix Pol Gonzalez
noreply at phabricator.kde.org
Mon Jun 4 01:11:11 UTC 2018
apol added inline comments.
INLINE COMMENTS
> kfileitem.cpp:730
> const QUrl url = mostLocalUrl(&isLocalUrl);
> - d->m_mimeType = db.mimeTypeForUrl(url);
> + if (isLocalUrl) {
> + qDebug() << "determine for local " << url.toLocalFile();
I'm not sure that makes sense. The fact that it's a local url doesn't mean it will be fast to read.
FUSE appears as local urls and it's slow.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D13315
To: miklosm, #frameworks, dfaure
Cc: apol, kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180604/f2926725/attachment.html>
More information about the Kde-frameworks-devel
mailing list