[Bug 291374] Cannot open DOCX document: "Could not read the beginning of the file"

Sebastian Sauer sebsauer at kdab.com
Wed Mar 7 04:21:30 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=291374

--- Comment #11 from Sebastian Sauer <sebsauer at kdab.com> ---
There btw is a

bool QTemporaryFileEngine::rename(const QString &newName)
{
    QFSFileEngine::close();
    return QFSFileEngine::rename(newName);
}

which does really close the temporary-file using the QFSFileEngine::close()
rather then the overloaded QTemporaryFileEngine::close(). But KDE does not use
that as you just wrote by uses the WinAPI direct bypassing the QTemporaryFile
special-case :-/

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list