Skip to content
Commit 3735ee8d authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

cliunarchiver: fix extraction of empty folders

When we move the extracted files from the temp dir to the final destination,
we were skipping all the directories. Now we skip a directory only if we are
not preserving paths or if the directory is not empty. An empty directory needs
to be moved explicitly, while a non-empty one will be implicitly created by
QDir::mkpath() when moving their children files.

This fixes the related unit test.
parent 5d03b24a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment