Skip to content
  • Pino Toscano's avatar
    Keep an open file handle on the local file currently open: this way, we can get it back from it, · 6531398b
    Pino Toscano authored
    in case for some reason (read: Firefox blindly removing temporary files) it gets "deleted".
    Of course, this works (and thus it is activated) only on UNIX systems (as the file is not deleted for real until there are open handles on it).
    BUG: 163363
    (If not wanted, this behavior can be disabled by export'ing OKULAR_NO_KEEP_FILE_OPEN to 1.)
    
    Also, in case the local file gets deleted but the real document is remote, use its (remote) URL for the copy.
    
    svn path=/trunk/KDE/kdegraphics/okular/; revision=818136
    6531398b