Diffusion Kile 9a4058f9cfab

Fix location of temporary lyx pipes

Authored by pino on May 7 2019, 4:34 AM.

Description

Fix location of temporary lyx pipes

Make sure that there is a directory separator when creating the path
of the temporary lyx pipes. This changes what is created in the
temporary directory: instead of
├── [drwx------] kile-XXXXXX
├── [drwx------] kile-XXXXXX.lyx
│   ├── [prw-------] lyxpipe.in
│   └── [prw-------] lyxpipe.out
├── [prw-------] kile-XXXXXX.lyxpipe.in
└── [prw-------] kile-XXXXXX.lyxpipe.out
now is it
└── [drwx------] kile-XXXXXX
   ├── [drwx------] .lyx
   │   ├── [prw-------] lyxpipe.in
   │   └── [prw-------] lyxpipe.out
   ├── [prw-------] .lyxpipe.in
   └── [prw-------] .lyxpipe.out
which also leaves no empty kile-XXXXXX.lyx directories at the exit.

This bug was introduced when porting from KTempDir to QTemporaryDir:
KTempDir::name() returns the full path with a trailing slash, while
QTemporaryDir::path() does not have the trailing slash.

Details

Committed
pinoMay 7 2019, 4:40 AM
Parents
R468:30a1433e4b75: Fix float assignment
Branches
Unknown
Tags
Unknown