Skip to content
  • Tom Moebert's avatar
    Fix MIME type not determined for small files · d89a2e91
    Tom Moebert authored and Nate Graham's avatar Nate Graham committed
    Summary: Previously, LoadingDocumentImplPrivate::determineKind() was never called for files < HEADER_SIZE when transferred via KIO, which prevented to load them correctly.
    
    Test Plan: Modify LoadingDocumentImpl::init() to make it always load files via KIO. Compile and execute `documenttest`. Before the fix it will be stuck in an endless loop. Afterwards it completes normally.
    
    Reviewers: #gwenview, ngraham
    
    Reviewed By: #gwenview, ngraham
    
    Subscribers: ngraham, #gwenview
    
    Tags: #gwenview
    
    Differential Revision: https://phabricator.kde.org/D22305
    d89a2e91