KFileItem::metaInfo() weirdness

Carsten Pfeiffer pfeiffer at kde.org
Thu Apr 23 11:55:24 BST 2009


why would I only get the meta info for a file item if previewing is 

KFileMetaInfo KFileItem::metaInfo(bool autoget, int) const
    if (autoget && !d->m_metaInfo.isValid())
        bool isLocalUrl;
        KUrl url(mostLocalUrl(isLocalUrl));
->     if (KGlobalSettings::showFilePreview(url))
            d->m_metaInfo = KFileMetaInfo(url);//, mimetype() );
    return d->m_metaInfo;

I'd like to remove that line.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 447 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090423/6b889c41/attachment.sig>

More information about the kde-core-devel mailing list